From nobody Thu Feb 17 09:47:24 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 883AF19C9045; Thu, 17 Feb 2022 09:47:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jzqk43Nyjz4Zwv; Thu, 17 Feb 2022 09:47:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645091244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ImF3yZrfvxgFSXw5l2niYfFkVin3HarosKxCqqe8Tjw=; b=Fl78Ab5CHRhBEVmK50Kam8VXHKQkGjWiDIpZfxtbpSH3hf6YTVPqrbMRFshFdeJ1nWDVXA ZkG3PgNGw51H393LZg2VmjFsPEqJ/mqW+qTgtArh7dl2FPHIpM58iTb2s0XpQ3/+omMIqu JbHNbmvZORcLLNxPW0Qn7qEoXGPDRty4jq5jI1NyDZFmXoTaU3BXhJlZ8q2R9Fl2E+Gomi /GfwhQwCA7M+v6qBHXL//y0xrQh+Hn7AB5bH2Il7ZpL6LNJEbs+QBbSvZhqf1JZ42+9nUD vfGaykQ89wWhybeiK1lsuadftcNwgl1OYgzjuEo8Lo5sDf0gSum6sR3X50hMvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 503E727899; Thu, 17 Feb 2022 09:47:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21H9lOph027066; Thu, 17 Feb 2022 09:47:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21H9lOUU027065; Thu, 17 Feb 2022 09:47:24 GMT (envelope-from git) Date: Thu, 17 Feb 2022 09:47:24 GMT Message-Id: <202202170947.21H9lOUU027065@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: b80bb8b197ae - main - freebsd-update.conf.5: Address style issues List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b80bb8b197aed4db48810d67be0239fd029c6465 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645091244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ImF3yZrfvxgFSXw5l2niYfFkVin3HarosKxCqqe8Tjw=; b=IJ3DKo27c65MRs4buQZX3kVGLdiEf8Q5jInTRFwo4qczySk6OE8tEqYgti+uBCSrAXIWJO qpsBE+HA4kMs+e/rvPEIVCdm8iXvi/S7Iwsf6KVgVh3qC5PSoqVIJLb+so4E8vCz4ceA+I WxTl9/wEQdhNERNORab/mRZmuoj8ZXQ4L9C5OexxhsCvV2Q9sUDyGA9mwpBFv1gibWUZ+Y mQH4cy27xsm5Xocn3KkE0b6DSnDUoJm/UOopUH1rhzVhdxLLVyKfirQljgyKxbvnK/Qk21 b0wSnn8jqrCeZBKch7ahm6LDsmKokR5c3KSyzYPCR+CJbUjtCBub23r5iE4Xfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645091244; a=rsa-sha256; cv=none; b=DCyHNHaWhtCIurLwru1Wt/wIDeuM6/Gsn0PNboasmwGWVY/rlkxCgehXfGp/afN3BNfMoV 3AmQSfZiWxIfX2yjh4k9c6y40Crck6jC7oH8GLnR5hM66KYhcu9yiJe1Q2K4jq3Qt6619W c1D7j5j1wlPsoWQCyJ5uvOVj8ZHr4Jo76lRiD8DtgxBpRPK63uJWsya8pRNmTzL/BgiTKf 1LOtYANmw2tHX+aqlV5cZFhVAcF2cy7k0j0T5pENofbn/dEaLFJNnIPw3DKybSKqU4EU4z H7HXu9YWGFy+LF0hPgBtCI6rndUKZ5U/NCNqrGZ1scsYKB0c+mXgp407WWGaSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=b80bb8b197aed4db48810d67be0239fd029c6465 commit b80bb8b197aed4db48810d67be0239fd029c6465 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-02-17 09:40:48 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-02-17 09:46:48 +0000 freebsd-update.conf.5: Address style issues - Do not set Os to FreeBSD explicitly. We don't do it in other manual pages. - Remove macros from the -width specifier. - Use Xr instead of Cm to refer to the freebsd-update command. - Address some mandoc lint warnings and use \(em instead of --. - Wordsmith some paragraphs. - Add a missing El macro. MFC after: 1 week --- share/man/man5/freebsd-update.conf.5 | 52 +++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/share/man/man5/freebsd-update.conf.5 b/share/man/man5/freebsd-update.conf.5 index 9d33e9e25171..76782dd1c095 100644 --- a/share/man/man5/freebsd-update.conf.5 +++ b/share/man/man5/freebsd-update.conf.5 @@ -27,7 +27,7 @@ .\" .Dd February 17, 2022 .Dt FREEBSD-UPDATE.CONF 5 -.Os FreeBSD +.Os .Sh NAME .Nm freebsd-update.conf .Nd configuration file for @@ -47,7 +47,7 @@ Unless stated otherwise, specifying an option multiple times is an error. .Pp The possible options and their meanings are as follows: -.Bl -tag -width ".Cm BackupKernelSymbolFiles" +.Bl -tag -width "BackupKernelSymbolFiles" .It Cm KeyPrint The single parameter following this keyword is the SHA256 hash of the RSA key which will be trusted to sign updates. @@ -91,7 +91,9 @@ accumulate. .It Cm IDSIgnorePaths The parameters following this keyword are regular expressions; paths which start with a string matching one of these regular -expressions will be ignored by "freebsd-update IDS". +expressions will be ignored by +.Xr freebsd-update 8 +IDS. .Pp This option can be specified multiple times, and the parameters accumulate. @@ -99,8 +101,9 @@ accumulate. The parameters following this keyword are regular expressions; updates to paths which start with a string matching one of these regular expressions will be ignored if the files have -been modified locally (unless they are merged -- see MergeChanges -below). +been modified locally (unless they are merged \(em see the +.Cm MergeChanges +option). .Pp This option can be specified multiple times, and the parameters accumulate. @@ -117,7 +120,7 @@ in which temporary files and downloaded updates will be stored. .It Cm MailTo The single parameter following this keyword is the address to which -.Cm cron +.Xr cron 8 output will be mailed. .It Cm AllowAdd The single parameter following this keyword must be @@ -125,11 +128,11 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 is allowed to create new files, directories, and symlinks if these are part of updates downloaded. Note that -.Cm freebsd-update +.Xr freebsd-update 8 will not re-add files which have been deleted from a .Fx installation unless those files were previously added as part @@ -140,7 +143,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 is allowed to delete files, directories, and symlinks as part of updates downloaded. .It Cm KeepModifiedMetadata @@ -149,7 +152,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 should keep existing file ownership, permissions, and flags when installing updates if these have been modified locally. .It Cm StrictComponents @@ -158,7 +161,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 should interpret the list of components of .Fx specified via the @@ -168,7 +171,7 @@ should be upgraded when the .Cm upgrade command is used ("yes"), or merely as a list of components which might be installed, of which -.Cm freebsd-update +.Xr freebsd-update 8 should identify which in fact are present ("no"). .It Cm BackupKernel The single parameter following this keyword must be @@ -176,19 +179,19 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 will create a backup of the old kernel before installing a new kernel. This backup kernel can be used to recover a system where the newly installed kernel somehow did not work. Note that the backup kernel is not reverted to its original state by the -.Cm freebsd-update +.Xr freebsd-update 8 rollback command. .It Cm BackupKernelDir This keyword sets the directory which is used to store a backup kernel, if the BackupKernel feature is enabled. If the directory already exist, and it was not created by -.Cm freebsd-update , +.Xr freebsd-update 8 , the directory is skipped. In the case of the primary directory name not being usable, a number starting with @@ -197,11 +200,11 @@ is appended to the directory name. Like with the primary directory name, the constructed directory name is only used if the path name does not exist, or if the directory was previously created by -.Cm freebsd-update . +.Xr freebsd-update 8 . If the constructed directory still exist the appended number is incremented with 1 and the directory search process restarted. Should the number increment go above 9, -.Cm freebsd-update +.Xr freebsd-update 8 will abort. .It Cm BackupKernelSymbolFiles The single parameter following this keyword must be @@ -209,13 +212,13 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 will also backup kernel symbol files, if they exist. The kernel symbol files takes up a lot of disk space and are not needed for recovery purposes. If the symbol files are needed, after recovering a system using the backup kernel, the -.Cm freebsd-update +.Xr freebsd-update 8 rollback command will recreate the symbol files along with the old kernel. .It Cm CreateBootEnv @@ -224,7 +227,7 @@ The single parameter following this keyword must be or .Dq no and specifies whether -.Cm freebsd-update +.Xr freebsd-update 8 will create a new boot environment using .Xr bectl 8 when installing patches. @@ -246,7 +249,7 @@ separated by a single dash, e.g.: 13.0-RELEASE-p7_2022-02-16_141502 .Ed .Pp -.Cm freebsd-update +.Xr freebsd-update 8 does not attempt to create a boot environment if any of the following applies: .Pp @@ -260,11 +263,11 @@ The ZFS root is not set up for boot environments for details .Pc . .It -.Cm freebsd-update +.Xr freebsd-update 8 is running in a .Xr jail 8 . .It -.Cm freebsd-update +.Xr freebsd-update 8 is updating a root directory selected via the basedir .Pq Fl b @@ -272,11 +275,12 @@ or jail .Pq Fl j flags. .El +.El .Sh FILES .Bl -tag -width "/etc/freebsd-update.conf" .It Pa /etc/freebsd-update.conf Default location of the -.Cm freebsd-update +.Xr freebsd-update 8 configuration file. .El .Sh SEE ALSO