]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/zfs/zfs_main.c
Adds the `-p` option to `zfs holds`
authorMohamed Tawfik <m_tawfik@aucegypt.edu>
Tue, 8 Nov 2022 18:08:21 +0000 (20:08 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Nov 2022 18:08:21 +0000 (10:08 -0800)
commit41715771b5de07cbfcb1f7b75f324e824dfa1728
treece8cf28f898671152b9588a7b913fb8f9d9ecf81
parentecbf02791f921b39594719ea103ae66ed2fce095
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
cmd/zfs/zfs_main.c
man/man8/zfs-hold.8