aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-10-01 16:24:54 +0200
committerBrian Behlendorf <[email protected]>2014-10-07 11:29:26 -0700
commita215ee16c06b3adbd00e9e69931ddcb71c2fb680 (patch)
tree7cf9c75d5b92e2598d5a48ae33b9580dd40789a9 /man
parente022864d19ee124c88f6fb9018e4b2d2cec76a08 (diff)
Add an example for 'zfs bookmark' to the Example section.
Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2762
Diffstat (limited to 'man')
-rw-r--r--man/man8/zfs.815
1 files changed, 15 insertions, 0 deletions
diff --git a/man/man8/zfs.8 b/man/man8/zfs.8
index d3ca8a6f7..dffee69d8 100644
--- a/man/man8/zfs.8
+++ b/man/man8/zfs.8
@@ -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