mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Adds the -p option to zfs holds
This allows for printing a machine-readable, accurate to the second, hold creation time in the form of a unix epoch timestamp. Additionally, updates relevant documentation and man pages accordingly. Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Mohamed Tawfik <m_tawfik@aucegypt.edu> Closes #13690 Closes #14152
This commit is contained in:
+4
-2
@@ -43,7 +43,7 @@
|
||||
.Ar tag Ar snapshot Ns …
|
||||
.Nm zfs
|
||||
.Cm holds
|
||||
.Op Fl rH
|
||||
.Op Fl rHp
|
||||
.Ar snapshot Ns …
|
||||
.Nm zfs
|
||||
.Cm release
|
||||
@@ -76,7 +76,7 @@ of all descendent file systems.
|
||||
.It Xo
|
||||
.Nm zfs
|
||||
.Cm holds
|
||||
.Op Fl rH
|
||||
.Op Fl rHp
|
||||
.Ar snapshot Ns …
|
||||
.Xc
|
||||
Lists all existing user references for the given snapshot or snapshots.
|
||||
@@ -86,6 +86,8 @@ Lists the holds that are set on the named descendent snapshots, in addition to
|
||||
listing the holds on the named snapshot.
|
||||
.It Fl H
|
||||
Do not print headers, use tab-delimited output.
|
||||
.It Fl p
|
||||
Prints holds timestamps as unix epoch timestamps.
|
||||
.El
|
||||
.It Xo
|
||||
.Nm zfs
|
||||
|
||||
Reference in New Issue
Block a user