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 /perl-install/lvm.pm | |
parent | 6f4b6b015034ab57532ff2bf82e07f9d717dbd66 (diff) | |
download | drakx-backup-do-not-use-1e41891e314dc87e382b76f0f296e85e9599cb34.tar drakx-backup-do-not-use-1e41891e314dc87e382b76f0f296e85e9599cb34.tar.gz drakx-backup-do-not-use-1e41891e314dc87e382b76f0f296e85e9599cb34.tar.bz2 drakx-backup-do-not-use-1e41891e314dc87e382b76f0f296e85e9599cb34.tar.xz drakx-backup-do-not-use-1e41891e314dc87e382b76f0f296e85e9599cb34.zip |
ensure {lv_name} is set for LVM partitions
Diffstat (limited to 'perl-install/lvm.pm')
-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 |