]> git.proxmox.com Git - mirror_zfs.git/commitdiff
man: zfs-bookmark.8: import examples from zfs.8
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Wed, 16 Mar 2022 17:25:36 +0000 (18:25 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 28 Mar 2022 17:13:14 +0000 (10:13 -0700)
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13228

man/man8/zfs-bookmark.8
man/man8/zfs.8

index 094a7b30902f4ccc4777ca442eeca57af9991dd7..88153b2ccfb5798e072349104014611586bafb12 100644 (file)
@@ -30,7 +30,7 @@
 .\" Copyright 2019 Joyent, Inc.
 .\" Copyright (c) 2019, 2020 by Christian Schwarz. All Rights Reserved.
 .\"
-.Dd May 27, 2021
+.Dd March 16, 2022
 .Dt ZFS-BOOKMARK 8
 .Os
 .
@@ -61,6 +61,14 @@ for details on ZFS feature flags and the
 .Sy bookmarks
 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
 .Xr zfs-destroy 8 ,
 .Xr zfs-send 8 ,
index 5982067639e3f9473cc553e23d31d9f22fafe73a..04bbbec1f5af819747fb233cb71bce2ea6a6a3b7 100644 (file)
@@ -301,6 +301,7 @@ if invalid command line options were specified.
 .Sh EXAMPLES
 .\" 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 23 are shared with zfs-bookmark.8.
 .\" Make sure to update them bidirectionally
 .Ss Example 1 : No Creating a ZFS File System Hierarchy
 The following commands create a file system named