zfs/cmd/zpool/zpool.d/upath

9 lines
146 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "-h" ] ; then
echo "Show the underlying path for a device."
exit
fi
# shellcheck disable=SC2154
echo upath="$VDEV_UPATH"