Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2023 15:32:21 GMT
From:      Mike Karels <karels@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aa1a1e7dc42f - main - mksnap_ffs.8: update /home examples
Message-ID:  <202305241532.34OFWLtY002128@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by karels:

URL: https://cgit.FreeBSD.org/src/commit/?id=aa1a1e7dc42f954832a63c340de61f771b27278e

commit aa1a1e7dc42f954832a63c340de61f771b27278e
Author:     Mike Karels <karels@FreeBSD.org>
AuthorDate: 2023-05-24 15:31:50 +0000
Commit:     Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-05-24 15:31:50 +0000

    mksnap_ffs.8: update /home examples
    
    The default location for home directories is moving from /usr/home
    to /home.  Update the examples accordingly.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D40205
---
 sbin/mksnap_ffs/mksnap_ffs.8 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sbin/mksnap_ffs/mksnap_ffs.8 b/sbin/mksnap_ffs/mksnap_ffs.8
index 2bba68150636..f28c15f73ad5 100644
--- a/sbin/mksnap_ffs/mksnap_ffs.8
+++ b/sbin/mksnap_ffs/mksnap_ffs.8
@@ -32,7 +32,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd March 5, 2023
+.Dd May 22, 2023
 .Dt MKSNAP_FFS 8
 .Os
 .Sh NAME
@@ -70,17 +70,17 @@ or members of the
 group.
 .Sh EXAMPLES
 Create a snapshot of
-.Pa /usr/home
+.Pa /home
 file system and mount the snapshot elsewhere:
 .Bd -literal -offset indent
-mksnap_ffs /usr/home/.snap/snap1
-mdconfig -a -t vnode -o readonly -f /usr/home/.snap/snap1
+mksnap_ffs /home/.snap/snap1
+mdconfig -a -t vnode -o readonly -f /home/.snap/snap1
 mount -o ro /dev/md0 /mnt/
 .Ed
 .Pp
 Delete a snapshot:
 .Bd -literal -offset indent
-rm /usr/home/.snap/snap1
+rm /home/.snap/snap1
 .Ed
 .Sh SEE ALSO
 .Xr rm 1 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305241532.34OFWLtY002128>