diff options
Diffstat (limited to 'scripts/zpool-config/lo-raidz.sh')
-rw-r--r-- | scripts/zpool-config/lo-raidz.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/zpool-config/lo-raidz.sh b/scripts/zpool-config/lo-raidz.sh index 509f6ee1d..e83e4a838 100644 --- 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() { + check_loop_utils + for FILE in ${FILES}; do DEVICE=`unused_loop_device` msg "Creating ${FILE} using loopback device ${DEVICE}" |