FreeBSD Bugzilla – Attachment 236509 Details for
Bug 266358
FFS/UFS snapshots: improve documentation for removal (deletion) and unlinking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update man page
mksnap_ffs-man-update.diff (text/plain), 1.34 KB, created by
Daniel O'Connor
on 2022-09-12 05:40:08 UTC
(
hide
)
Description:
Update man page
Filename:
MIME Type:
Creator:
Daniel O'Connor
Created:
2022-09-12 05:40:08 UTC
Size:
1.34 KB
patch
obsolete
>diff --git a/sbin/mksnap_ffs/mksnap_ffs.8 b/sbin/mksnap_ffs/mksnap_ffs.8 >index 201014522..37e486cb1 100644 >--- a/sbin/mksnap_ffs/mksnap_ffs.8 >+++ b/sbin/mksnap_ffs/mksnap_ffs.8 >@@ -48,6 +48,15 @@ The > .Nm > utility creates a snapshot named > .Ar snapshot_name . >+This name is a path in the file system, typically this is under .snap >+in the root of the file system but it can be anywhere. Snapshots can >+be listed using the >+.Xr snapinfo 8 >+command. >+.Pp >+After a snapshot is taken it appears as a file the size of the file >+sysem of which it was taken. It can be moved/renamed or deleted (which >+removes the snapshot). > .Pp > The group ownership of the file is set to > .Dq Li operator ; >@@ -57,20 +66,28 @@ The mode of the snapshot is set to be readable by the owner > or members of the > .Dq Li operator > group. >+ > .Sh EXAMPLES > Create a snapshot of > .Pa /usr/home > file system and mount the snapshot elsewhere: > .Bd -literal -offset indent >-mksnap_ffs /usr/home/snapshot >-mdconfig -a -t vnode -o readonly -f /usr/home/snapshot >+mksnap_ffs /usr/home/.snap/snap1 >+mdconfig -a -t vnode -o readonly -f /usr/home/.snap/snap1 > mount -o ro /dev/md0 /mnt/ > .Ed >+ >+Delete a snapshot: >+.Bd -literal -offset indent >+rm /usr/home/.snap/snap1 >+.Ed > .Sh SEE ALSO >+.Xr rm 1 , > .Xr chmod 2 , > .Xr chown 8 , > .Xr mdconfig 8 , >-.Xr mount 8 >+.Xr mount 8 , >+.Xr snapinfo 8 > .Sh HISTORY > The > .Nm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266358
:
236509
|
240474
|
240572