From nobody Thu Mar 17 22:33:48 2022 X-Original-To: dev-commits-src-main@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 74D581A3408F; Thu, 17 Mar 2022 22:33:48 +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 4KKMPS2Z89z4Ypj; Thu, 17 Mar 2022 22:33:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647556428; 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=WT4+b3IkZcvzJr3MIls8ToxfRFLOHRaXhKU9/Y7QRjY=; b=U2jX504TpfHZsw0KILlHaj872atOo0UvJTGHWvFnYw9shiyqxc9m2evwHcbf60nDlYGVlm /sjRmWcPiklYlIH2AbJ/xliQ4HH79hcl5FXFMM+4MrUHzI1wQwP45a3N6kKBj3LotxSlqT ZbFOwKwPD4weisl7/rSSY5OY86oNphLpw+kmVuG1HxzFqWrwj5QQpFYA+5sGdK58exjhZq gRXzXUlOa2Cah9PMtwIz3KzEQSV26zo/jfoPdAplgFBxuLv+3ic1decVAjy8oh+DIAJG08 P6PFb6wO0a9gsiO3pZ3PbzJY6YiJkttmD1/PJd2M7Ml5ySj0Aie+Sno8kBvL2Q== 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 37EEE13575; Thu, 17 Mar 2022 22:33:48 +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 22HMXm0S005155; Thu, 17 Mar 2022 22:33:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22HMXm2R005154; Thu, 17 Mar 2022 22:33:48 GMT (envelope-from git) Date: Thu, 17 Mar 2022 22:33:48 GMT Message-Id: <202203172233.22HMXm2R005154@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Wing Subject: git: 8772a9117b27 - main - mount.8: mention that the snapshot option is exclusive List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8772a9117b27f551f6fbaae9413acaa30d99f934 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647556428; 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=WT4+b3IkZcvzJr3MIls8ToxfRFLOHRaXhKU9/Y7QRjY=; b=xyGEnHR5Zq/tR054j3iiyzsZaYTSto6hb2VQKdhWkZEXOn9nyWpsdTqodowEb6pXZJ92nn 38zNzzSCucYCmus9HF9bQSsnq1Si35vsdY0DxEkrauru0LP1o2fCKhwF42Ph7VsCEXIEsy PhG7p2hyyi2EErTpRhWYaFP+lFDWViwjM3cHkvCDVkM3f3IlF1Be4fDyOuqOxWz9ENClwl gDdnNK0udqhelz8MnLjj+x5IDiWS82aEbVc0CRO5Dq/HH90fJyvzmxUFyK8af4/ztwIfd/ Xcsh6cL1qVfAt2q92M8pU5ISso4f0+SQvImfzN4MIPlvgd2SEn0WVmDHNB9VMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647556428; a=rsa-sha256; cv=none; b=CBc6jHtj6qGkSOfmT1hMjdtZI2mTW9v83diakG4USiP+7RZGDafN1fTC4mGuKRci8h7gSf dE0aUcoG7BgNFtta0QBuZ8H7PQqeVPVJTe8Y3kvGd7c9h/YSccPMPJjP1FCG1gVUQRN2lS tdOog42key50rWOTMPxuwdeotICwMsSsmYRZDxkFtx16rXEk0ChcmLi24Ifrc8/QDxZzH3 CI2bBaSgz1t6o76wlO35EOPyAd3StOZOK+eKWRuPdVPiv0Ix6AKFl3P25NX2mbHPKk8SuT UoUW8xvD6ftoeMY+mOukzIRxUnA1C24fMGNKyAwmOXQa8KacEPLQnmVhOn3O5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=8772a9117b27f551f6fbaae9413acaa30d99f934 commit 8772a9117b27f551f6fbaae9413acaa30d99f934 Author: Robert Wing AuthorDate: 2022-03-17 22:31:16 +0000 Commit: Robert Wing CommitDate: 2022-03-17 22:33:03 +0000 mount.8: mention that the snapshot option is exclusive When using the snapshot option, all other options are ignored. This update reflects changes made in ab2dbd9b871d. Reviewed by: 0mp, mckusick Differential Revision: https://reviews.freebsd.org/D34584 --- sbin/mount/mount.8 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 59a0f6bb0329..2a877c04c079 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -28,7 +28,7 @@ .\" @(#)mount.8 8.8 (Berkeley) 6/16/94 .\" $FreeBSD$ .\" -.Dd May 18, 2021 +.Dd March 17, 2022 .Dt MOUNT 8 .Os .Sh NAME @@ -276,11 +276,13 @@ The same as .Fl r ; mount the file system read-only (even the super-user may not write it). .It Cm snapshot -This option allows a snapshot of the specified file system to be taken. +Take a snapshot of the specified filesystem. +When this option is used, all other options are ignored. The .Fl u flag is required with this option. -Note that snapshot files must be created in the file system that is being +.Pp +Snapshot files must be created in the file system that is being snapshotted. You may create up to 20 snapshots per file system. Active snapshots are recorded in the superblock, so they persist across unmount