Date: Wed, 13 Apr 2022 21:04:02 GMT From: Robert Wing <rew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 7472cae2e098 - stable/13 - mount.8: mention that the snapshot option is exclusive Message-ID: <202204132104.23DL42iv012372@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=7472cae2e098026a7a38adb9677a701ea0a5aca4 commit 7472cae2e098026a7a38adb9677a701ea0a5aca4 Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2022-03-17 22:31:16 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2022-04-13 21:00:22 +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 (cherry picked from commit 8772a9117b27f551f6fbaae9413acaa30d99f934) --- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204132104.23DL42iv012372>