diff options
Diffstat (limited to 'cmd/zpool/zpool.d/upath')
-rwxr-xr-x | cmd/zpool/zpool.d/upath | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/zpool/zpool.d/upath b/cmd/zpool/zpool.d/upath new file mode 100755 index 000000000..16a4327d4 --- /dev/null +++ b/cmd/zpool/zpool.d/upath @@ -0,0 +1,7 @@ +#!/bin/sh +if [ "$1" = "-h" ] ; then + echo "Show the underlying path for a device." + exit +fi + +echo upath="$VDEV_UPATH" |