Searched refs:somepath (Results 1 – 25 of 34) sorted by relevance
12
68 somepath="${VDEV_PATH}"70 somepath="${VDEV_UPATH}"78 if [ "$i" = "size" ] && [ -f "$somepath" ] ; then79 size=$(du -h --apparent-size "$somepath" | cut -f 1)86 if val=$(eval "lsblk -dl -n -o $i $somepath 2>/dev/null") ; then
22 somepath="${VDEV_PATH}"24 somepath="${VDEV_UPATH}"39 if [ -f "$somepath" ] ; then48 "$somepath" | tail -n 2)54 "$somepath" | grep -v '^$' | tail -n 2)
76 somepath="${VDEV_PATH}"78 somepath="${VDEV_UPATH}"81 if [ -b "$somepath" ] && PATH="/usr/sbin:$PATH" command -v smartctl > /dev/null || [ -n "$samples" …89 raw_out=$(sudo smartctl -a "$somepath")