Révision 46 bin/create-volume
create-volume (revision 46) | ||
---|---|---|
30 | 30 |
|
31 | 31 |
function interactive { |
32 | 32 |
/sbin/zfs list |
33 |
# FIXME: c'est pas clair ta formulation |
|
34 |
echo "*** Choose a pool for the ZFS volume to create: ***" |
|
33 |
echo "*** Select the parent zpool : ***" |
|
35 | 34 |
|
36 | 35 |
while read inputline |
37 | 36 |
do |
... | ... | |
40 | 39 |
/sbin/zfs list |grep -i $inputline |
41 | 40 |
if [ $? -eq 1 ] |
42 | 41 |
then |
43 |
# FIXME: c'est pas clair ta formulation |
|
44 |
echo "*** Choose a pool for the ZFS volume to create: ***" |
|
42 |
echo "*** Select the parent zpool ***" |
|
45 | 43 |
else |
46 | 44 |
|
47 | 45 |
echo "*** Are you sure: $inputline ? (y/n) ***" |
... | ... | |
110 | 108 |
break |
111 | 109 |
fi |
112 | 110 |
else |
113 |
# FIXME: c'est pas clair ta formulation |
|
114 |
echo "*** Choose a pool for the ZFS volume to create: ***" |
|
111 |
echo "*** Select the parent zpool : ***" |
|
115 | 112 |
fi |
116 | 113 |
done |
117 | 114 |
} |
Formats disponibles : Unified diff