Révision 46 bin/create-filesystem
create-filesystem (revision 46) | ||
---|---|---|
22 | 22 |
|
23 | 23 |
function interactive { |
24 | 24 |
/sbin/zfs list |
25 |
# FIXME: c'est pas clair ta formulation |
|
26 |
echo "*** Choose a pool for the filesystem to create: ***" |
|
25 |
echo "*** Select the parent zpool : ***" |
|
27 | 26 |
|
28 | 27 |
while read inputline |
29 | 28 |
do |
... | ... | |
32 | 31 |
/sbin/zfs list |grep -i $inputline |
33 | 32 |
if [ $? -eq 1 ] |
34 | 33 |
then |
35 |
# FIXME: c'est pas clair ta formulation |
|
36 |
echo "*** Choose a pool for the filesystem to create: ***" |
|
34 |
echo "*** Select the parent zpool : ***" |
|
37 | 35 |
else |
38 | 36 |
|
39 | 37 |
echo "*** Are you sure: $inputline ? (y/n) ***" |
... | ... | |
86 | 84 |
break |
87 | 85 |
fi |
88 | 86 |
else |
89 |
# FIXME: c'est pas clair ta formulation |
|
90 |
echo "*** Choose a pool for the filesystem to create: ***" |
|
87 |
echo "*** Select the parent zpool : ***" |
|
91 | 88 |
fi |
92 | 89 |
done |
93 | 90 |
} |
Formats disponibles : Unified diff