diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-09 18:51:43 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-09 18:51:43 +0100 |
commit | d5ec4795f3211a47e8bea1569ba95c3f84c9b84d (patch) | |
tree | 4269bd2b7dd2dc83bc9e2771a161e84cc366afd4 | |
parent | 94d36b5a5a394c033edb7d2b8c340579d4564aad (diff) |
naughty naughty naughty mkfs bugfix + output fix
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index be923a2..980c196 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -335,7 +335,7 @@ process_disks () process_disk () { - infofy "Partitioning $DEVICE" disks + infofy "Partitioning $1" disks partition $1 "$2" } @@ -508,7 +508,7 @@ process_filesystem () ret=0 #TODO: health checks on $fs_params etc - case ${_fstype} in #TODO: implement label, opts etc decently + case ${fs_type} in #TODO: implement label, opts etc decently xfs) mkfs.xfs -f $part $opts >$LOG 2>&1; ret=$? ;; jfs) yes | mkfs.jfs $part $opts >$LOG 2>&1; ret=$? ;; reiserfs) yes | mkreiserfs $part $opts >$LOG 2>&1; ret=$? ;; |