FreeBSD Bugzilla – Attachment 240474 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.36 KB, created by
Daniel O'Connor
on 2023-02-28 03:42:29 UTC
(
hide
)
Description:
Update man page
Filename:
MIME Type:
Creator:
Daniel O'Connor
Created:
2023-02-28 03:42:29 UTC
Size:
1.36 KB
patch
obsolete
>diff --git a/sbin/mksnap_ffs/mksnap_ffs.8 b/sbin/mksnap_ffs/mksnap_ffs.8 >index 201014522..b54b461d7 100644 >--- a/sbin/mksnap_ffs/mksnap_ffs.8 >+++ b/sbin/mksnap_ffs/mksnap_ffs.8 >@@ -48,6 +48,16 @@ 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 file is the size of the file sysem from 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 +67,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