pass options to mkfs without -o

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-04 22:56:50 +02:00
parent 20241a0c5c
commit 3d017abd6f

View file

@ -27,7 +27,7 @@ else
command="mkfs -t $type"
if [ -f "$__object/parameter/options" ]; then
options="$(cat "$__object/parameter/options")"
command="$command -o '$options'"
command="$command $options"
fi
command="$command $device"
if [ -f "$__object/parameter/blocks" ]; then