Fix wrong root pool usage

This commit is contained in:
Bryan Drewery 2012-09-04 23:08:52 -05:00
parent 1f232a46de
commit 5cf5925785
1 changed files with 1 additions and 1 deletions

2
beadm
View File

@ -264,7 +264,7 @@ case ${1} in
fi fi
fi fi
# get list of USEDBYDATASET and USED properties # get list of USEDBYDATASET and USED properties
USED_ALL=$( zfs list -H -t all -o name,usedbydataset,usedbysnapshots,used -r sys/ROOT \ USED_ALL=$( zfs list -H -t all -o name,usedbydataset,usedbysnapshots,used -r ${POOL}/ROOT \
| sed 1d \ | sed 1d \
| sed '/0$/d' \ | sed '/0$/d' \
| sed '/-$/d' \ | sed '/-$/d' \