diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-02-01 09:17:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-02-01 09:17:45 +0000 |
commit | 1e41891e314dc87e382b76f0f296e85e9599cb34 (patch) | |
tree | df727a1bdf7c004db415cd14a90df1bf9dc50015 | |
parent | 6f4b6b015034ab57532ff2bf82e07f9d717dbd66 (diff) | |
download | drakx-1e41891e314dc87e382b76f0f296e85e9599cb34.tar drakx-1e41891e314dc87e382b76f0f296e85e9599cb34.tar.gz drakx-1e41891e314dc87e382b76f0f296e85e9599cb34.tar.bz2 drakx-1e41891e314dc87e382b76f0f296e85e9599cb34.tar.xz drakx-1e41891e314dc87e382b76f0f296e85e9599cb34.zip |
ensure {lv_name} is set for LVM partitions
-rw-r--r-- | perl-install/lvm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm index ef3ab3090..48abf5c84 100644 --- a/perl-install/lvm.pm +++ b/perl-install/lvm.pm @@ -90,6 +90,7 @@ sub get_lvs { my $fs_type = -e "/dev/$device" && fs::type::fs_type_from_magic({ device => $device }); { device => $device, + lv_name => $_, fs_type => $fs_type || 'ext2', size => get_lv_size($device) }; } @l |