Missed one instance of losetup -f to unused_loop_device change
This commit is contained in:
parent
b9c3c7a2f4
commit
bc8c87d2f3
|
@ -24,7 +24,7 @@ zpool_create() {
|
||||||
done
|
done
|
||||||
|
|
||||||
for FILE in ${FILES_M2}; do
|
for FILE in ${FILES_M2}; do
|
||||||
DEVICE=`/sbin/losetup -f`
|
DEVICE=`unused_loop_device`
|
||||||
msg "Creating ${FILE} using loopback device ${DEVICE}"
|
msg "Creating ${FILE} using loopback device ${DEVICE}"
|
||||||
rm -f ${FILE} || exit 1
|
rm -f ${FILE} || exit 1
|
||||||
dd if=/dev/zero of=${FILE} bs=1024k count=256 &>/dev/null ||
|
dd if=/dev/zero of=${FILE} bs=1024k count=256 &>/dev/null ||
|
||||||
|
|
Loading…
Reference in New Issue