diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-16 20:35:54 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-16 20:35:54 +0100 |
commit | 5bb94e2a56a295c8323e4a923497f8f5d9e94f39 (patch) | |
tree | 1375851eb5a8d219a3dee097b9efbd94b3ae8456 /src/core | |
parent | ce479c7a56d08a64547c4e64a931f084c12773e1 (diff) |
fix for lvm LV label, and hence also deletion will work
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 2ea2d16..d968d27 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -379,7 +379,7 @@ interactive_filesystem () new_device= [ "$fs_type" = lvm-vg ] && new_device="/dev/mapper/$fs_label $fs_type $fs_label" [ "$fs_type" = lvm-pv ] && new_device="$part+ $fs_type no_label" - [ "$fs_type" = lvm-lv ] && new_device="/dev/mapper/$part_label-$fs_label $fs_type no_label" + [ "$fs_type" = lvm-lv ] && new_device="/dev/mapper/$part_label-$fs_label $fs_type $fs_label" [ "$fs_type" = dm_crypt ] && new_device="/dev/mapper/$fs_label $fs_type no_label" [ -n "$new_device" ] && ! grep -q "^$new_device " $TMP_BLOCKDEVICES && echo "$new_device no_fs" >> $TMP_BLOCKDEVICES fi |