a guest Sep 11th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Used by Samba to grok ZFS free space
- USED=$((`zfs get -o value -Hp used $CUR_PATH` / 1024)) > /dev/null
- AVAIL=$((`zfs get -o value -Hp available $CUR_PATH` / 1024)) > /dev/null
- TOTAL=$(($USED+$AVAIL)) > /dev/null
- echo $TOTAL $AVAIL
RAW Paste Data