diff options
Diffstat (limited to 'straper/db/public/zfs/etc-zfs/zpool.d/upath')
| -rwxr-xr-x | straper/db/public/zfs/etc-zfs/zpool.d/upath | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/straper/db/public/zfs/etc-zfs/zpool.d/upath b/straper/db/public/zfs/etc-zfs/zpool.d/upath new file mode 100755 index 0000000..e37ee1b --- /dev/null +++ b/straper/db/public/zfs/etc-zfs/zpool.d/upath @@ -0,0 +1,8 @@ +#!/bin/sh +if [ "$1" = "-h" ] ; then + echo "Show the underlying path for a device." + exit +fi + +# shellcheck disable=SC2154 +echo upath="$VDEV_UPATH" |
