zfs.8 uses wrong snapshot names in Example 15

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: bunder2015 <omfgbunder@gmail.com>
Signed-off-by: Benjamin Gentil <benjamin@gentil.io>
Closes #8241
This commit is contained in:
Benjamin Gentil 2019-01-07 20:08:54 +01:00 committed by Tony Hutter
parent 89019a846b
commit 7e5def8ae0
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
.\" Copyright 2016 Nexenta Systems, Inc. .\" Copyright 2016 Nexenta Systems, Inc.
.\" Copyright 2016 Richard Laager. All rights reserved. .\" Copyright 2016 Richard Laager. All rights reserved.
.\" .\"
.Dd July 13, 2018 .Dd Jan 05, 2019
.Dt ZFS 8 SMM .Dt ZFS 8 SMM
.Os Linux .Os Linux
.Sh NAME .Sh NAME
@ -3981,9 +3981,9 @@ renames the remaining snapshots, and then creates a new snapshot, as follows:
# zfs destroy -r pool/users@7daysago # zfs destroy -r pool/users@7daysago
# zfs rename -r pool/users@6daysago @7daysago # zfs rename -r pool/users@6daysago @7daysago
# zfs rename -r pool/users@5daysago @6daysago # zfs rename -r pool/users@5daysago @6daysago
# zfs rename -r pool/users@yesterday @5daysago # zfs rename -r pool/users@4daysago @5daysago
# zfs rename -r pool/users@yesterday @4daysago # zfs rename -r pool/users@3daysago @4daysago
# zfs rename -r pool/users@yesterday @3daysago # zfs rename -r pool/users@2daysago @3daysago
# zfs rename -r pool/users@yesterday @2daysago # zfs rename -r pool/users@yesterday @2daysago
# zfs rename -r pool/users@today @yesterday # zfs rename -r pool/users@today @yesterday
# zfs snapshot -r pool/users@today # zfs snapshot -r pool/users@today