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
Add missing -ldl linker option
[zfs.git]
/
scripts
/
zpool-config
/
lo-raid10.sh
diff --git
a/scripts/zpool-config/lo-raid10.sh
b/scripts/zpool-config/lo-raid10.sh
index
f9c47cd
..
5350930
100644
(file)
--- a/
scripts/zpool-config/lo-raid10.sh
+++ b/
scripts/zpool-config/lo-raid10.sh
@@
-12,6
+12,8
@@
DEVICES_M1=""
DEVICES_M2=""
zpool_create() {
DEVICES_M2=""
zpool_create() {
+ check_loop_utils
+
for FILE in ${FILES_M1}; do
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"
for FILE in ${FILES_M1}; do
DEVICE=`unused_loop_device`
msg "Creating ${FILE} using loopback device ${DEVICE}"