summaryrefslogtreecommitdiff
path: root/src/core/libs
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-12 15:10:37 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-12 15:10:37 +0100
commite7f6857c3b602d86ee73a738fd3b17f3196b3348 (patch)
tree07cd0799e400eee339c9b3f40901ddf0cd702895 /src/core/libs
parentb1bad536ceb7882bc1e004b2a56d88e11cbeb1a6 (diff)
lvm LV fix
Diffstat (limited to 'src/core/libs')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh2
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
2 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 f123470..bfeebc8 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -589,7 +589,7 @@ get_filesystem_program ()
[ $1 = vfat ] && echo mkfs.vfat && return 0
[ $1 = lvm-pv ] && echo pvcreate && return 0
[ $1 = lvm-vg ] && echo vgcreate && return 0
- [ $1 = lvg-lv ] && echo lvcreate && return 0
+ [ $1 = lvm-lv ] && echo lvcreate && return 0
[ $1 = dm_crypt ] && echo cryptsetup && return 0
return 1
}
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index 964d11c..21c5422 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -275,7 +275,7 @@ interactive_filesystem ()
fsopts=($FSOPTS);
if [ ${#fsopts[*]} -lt 4 ] # less then 4 words in the $FSOPTS string. eg only one option
then
- notify "Automatically picked the ${fsopts[1]} filesystem. It's the only option for $part_type blockdevices" #TODO: ${fsopts[1]} is empty when making an LV on a VG
+ notify "Automatically picked the ${fsopts[1]} filesystem. It's the only option for $part_type blockdevices"
fs_type=${fsopts[0]}
else
default=