diff options
Diffstat (limited to 'man/man8/zfs-program.8')
-rw-r--r-- | man/man8/zfs-program.8 | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/man/man8/zfs-program.8 b/man/man8/zfs-program.8 index 532fda19b..7c58af0d2 100644 --- a/man/man8/zfs-program.8 +++ b/man/man8/zfs-program.8 @@ -457,8 +457,34 @@ dataset (string) .Bd -ragged -compact -offset "xxxx" Must be a valid filesystem or volume. .Ed +.It Em zfs.list.bookmarks(dataset) +Iterate through all bookmarks of the given dataset. Each bookmark is returned +as a string containing the full dataset name, e.g. "pool/fs#bookmark". +.Pp +dataset (string) +.Bd -ragged -compact -offset "xxxx" +Must be a valid filesystem or volume. +.Ed +.It Em zfs.list.holds(snapshot) +Iterate through all user holds on the given snapshot. Each hold is returned +as a pair of the hold's tag and the timestamp (in seconds since the epoch) at +which it was created. +.Pp +snapshot (string) +.Bd -ragged -compact -offset "xxxx" +Must be a valid snapshot. +.Ed .It Em zfs.list.properties(dataset) -Iterate through all user properties for the given dataset. +An alias for zfs.list.user_properties (see relevant entry). +.Pp +dataset (string) +.Bd -ragged -compact -offset "xxxx" +Must be a valid filesystem, snapshot, or volume. +.Ed +.It Em zfs.list.user_properties(dataset) +Iterate through all user properties for the given dataset. For each +step of the iteration, output the property name, its value, and its source. +Throws a Lua error if the dataset is invalid. .Pp dataset (string) .Bd -ragged -compact -offset "xxxx" |