From e7f6857c3b602d86ee73a738fd3b17f3196b3348 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 12 Dec 2008 15:10:37 +0100 Subject: lvm LV fix --- src/core/libs/lib-blockdevices-filesystems.sh | 2 +- src/core/libs/lib-ui-interactive.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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= -- cgit v1.2.3-54-g00ecf