man: zfs-bookmark.8: import examples from zfs.8

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13228
This commit is contained in:
наб 2022-03-16 18:25:36 +01:00 committed by Brian Behlendorf
parent c522339fd7
commit 1e164f89e5
2 changed files with 10 additions and 1 deletions

View File

@ -30,7 +30,7 @@
.\" Copyright 2019 Joyent, Inc. .\" Copyright 2019 Joyent, Inc.
.\" Copyright (c) 2019, 2020 by Christian Schwarz. All Rights Reserved. .\" Copyright (c) 2019, 2020 by Christian Schwarz. All Rights Reserved.
.\" .\"
.Dd May 27, 2021 .Dd March 16, 2022
.Dt ZFS-BOOKMARK 8 .Dt ZFS-BOOKMARK 8
.Os .Os
. .
@ -61,6 +61,14 @@ for details on ZFS feature flags and the
.Sy bookmarks .Sy bookmarks
feature. feature.
. .
.Sh EXAMPLES
.\" These are, respectively, examples 23 from zfs.8
.\" Make sure to update them bidirectionally
.Ss Example 1 : No Creating a bookmark
The following example create a bookmark to a snapshot.
This bookmark can then be used instead of snapshot in send streams.
.Dl # Nm zfs Cm bookmark Ar rpool Ns @ Ns Ar snapshot rpool Ns # Ns Ar bookmark
.
.Sh SEE ALSO .Sh SEE ALSO
.Xr zfs-destroy 8 , .Xr zfs-destroy 8 ,
.Xr zfs-send 8 , .Xr zfs-send 8 ,

View File

@ -301,6 +301,7 @@ if invalid command line options were specified.
.Sh EXAMPLES .Sh EXAMPLES
.\" Examples 17, 18, 19, 20, 21 are shared with zfs-allow.8. .\" Examples 17, 18, 19, 20, 21 are shared with zfs-allow.8.
.\" Examples 1, 4, 6, 14, 16 are shared with zfs-set.8. .\" Examples 1, 4, 6, 14, 16 are shared with zfs-set.8.
.\" Examples 23 are shared with zfs-bookmark.8.
.\" Make sure to update them bidirectionally .\" Make sure to update them bidirectionally
.Ss Example 1 : No Creating a ZFS File System Hierarchy .Ss Example 1 : No Creating a ZFS File System Hierarchy
The following commands create a file system named The following commands create a file system named