From 1e164f89e582b4697e4c83bf29fa75e187e423e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 16 Mar 2022 18:25:36 +0100 Subject: [PATCH] man: zfs-bookmark.8: import examples from zfs.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13228 --- man/man8/zfs-bookmark.8 | 10 +++++++++- man/man8/zfs.8 | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/man/man8/zfs-bookmark.8 b/man/man8/zfs-bookmark.8 index 094a7b3090..88153b2ccf 100644 --- a/man/man8/zfs-bookmark.8 +++ b/man/man8/zfs-bookmark.8 @@ -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 , diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 5982067639..04bbbec1f5 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -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