Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115941359
D38817.id118307.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38817.id118307.diff
View Options
diff --git a/sbin/mksnap_ffs/mksnap_ffs.8 b/sbin/mksnap_ffs/mksnap_ffs.8
--- a/sbin/mksnap_ffs/mksnap_ffs.8
+++ b/sbin/mksnap_ffs/mksnap_ffs.8
@@ -48,6 +48,18 @@
.Nm
utility creates a snapshot named
.Ar snapshot_name .
+This name is a path in the file system.
+Typically this is under the
+.Pa .snap
+directory 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 system 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 ;
@@ -62,15 +74,22 @@
.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
+.Pp
+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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 4:41 PM (13 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17886375
Default Alt Text
D38817.id118307.diff (1 KB)
Attached To
Mode
D38817: FFS/UFS snapshots: improve documentation for removal (deletion) and unlinking
Attached
Detach File
Event Timeline
Log In to Comment