Skip to content

Commit

Permalink
Add an example for 'zfs bookmark' to the Example section.
Browse files Browse the repository at this point in the history
Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes openzfs#2762
  • Loading branch information
FransUrbo authored and behlendorf committed Oct 7, 2014
1 parent e022864 commit a215ee1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions man/man8/zfs.8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a215ee1

Please sign in to comment.