summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-09 18:51:43 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-09 18:51:43 +0100
commitd5ec4795f3211a47e8bea1569ba95c3f84c9b84d (patch)
tree4269bd2b7dd2dc83bc9e2771a161e84cc366afd4 /src
parent94d36b5a5a394c033edb7d2b8c340579d4564aad (diff)
naughty naughty naughty mkfs bugfix + output fix
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh4
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=$? ;;