git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support IEC base-2 prefixes
[zfs.git]
/
scripts
/
zpool-config
/
lo-raidz.sh
diff --git
a/scripts/zpool-config/lo-raidz.sh
b/scripts/zpool-config/lo-raidz.sh
index
509f6ee
..
e83e4a8
100644
(file)
--- a/
scripts/zpool-config/lo-raidz.sh
+++ b/
scripts/zpool-config/lo-raidz.sh
@@
-10,6
+10,8
@@
FILES="/tmp/zpool-vdev0 \
DEVICES=""
zpool_create() {
DEVICES=""
zpool_create() {
+ check_loop_utils
+
for FILE in ${FILES}; do
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"
for FILE in ${FILES}; do
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"