aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool/zpool.d/upath
blob: e37ee1b8cc2a9eb43e0ca824bf547130a1ec985c (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
if [ "$1" = "-h" ] ; then
	echo "Show the underlying path for a device."
	exit
fi

# shellcheck disable=SC2154
echo upath="$VDEV_UPATH"