Skip to content

Commit dc2f802

Browse files
committed
Enable -m dataset_id switch for znaphodlz
For pools with multiple datasets, this allows the user to see a list of ZFS holds for a specific dataset.
1 parent a888041 commit dc2f802

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libexec/znaphodlz.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function __znaphodlz {
2626

2727
for home_poolname in "${poolnames[@]}"; do
2828
if {
29-
__dataset_id__load_dataset_record -r "${home_poolname}";
29+
__dataset_id__load_dataset_record -r "$@" "${home_poolname}";
3030
}; then
3131
echo $'\n'"Home dataset ${dataset}"
3232
zfs list -H -t snapshot -o name "${dataset}" \

0 commit comments

Comments
 (0)