]> granicus.if.org Git - zfs/commitdiff
Add an example for 'zfs bookmark' to the Example section.
authorTurbo Fredriksson <turbo@bayour.com>
Wed, 1 Oct 2014 14:24:54 +0000 (16:24 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Oct 2014 18:29:26 +0000 (11:29 -0700)
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2762

man/man8/zfs.8

index d3ca8a6f79f1cf7eb9d4e15ed3489cc6b1997081..dffee69d81898268ba96c7772dc4ef6444c0d5fd 100644 (file)
@@ -3707,6 +3707,21 @@ M       F       /tank/test/modified
 .in -2
 .sp
 
+.LP
+\fBExample 24\fR Creating a bookmark
+.sp
+.LP
+The following example create a bookmark to a snapshot. This bookmark can then
+be used instead of snapshot in send streams.
+
+.sp
+.in +2
+.nf
+# zfs bookmark rpool@snapshot rpool#bookmark
+.fi
+.in -2
+.sp
+
 .SH "ENVIRONMENT VARIABLES"
 .TP
 .B "ZFS_ABORT