Merge commit 'refs/top-bases/linux-have-zvol' into linux-have-zvol

This commit is contained in:
Brian Behlendorf 2009-07-21 17:13:41 -07:00
commit fd22e1896f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ zpool_create() {
done
for FILE in ${FILES_M2}; do
DEVICE=`/sbin/losetup -f`
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"
rm -f ${FILE} || exit 1
dd if=/dev/zero of=${FILE} bs=1024k count=256 &>/dev/null ||