From d5ec4795f3211a47e8bea1569ba95c3f84c9b84d Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Tue, 9 Dec 2008 18:51:43 +0100 Subject: naughty naughty naughty mkfs bugfix + output fix --- src/core/libs/lib-blockdevices-filesystems.sh | 4 ++-- 1 file 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=$? ;; -- cgit v1.2.3-54-g00ecf