summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-01 09:17:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-01 09:17:45 +0000
commit1e41891e314dc87e382b76f0f296e85e9599cb34 (patch)
treedf727a1bdf7c004db415cd14a90df1bf9dc50015 /perl-install/lvm.pm
parent6f4b6b015034ab57532ff2bf82e07f9d717dbd66 (diff)
downloaddrakx-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.pm1
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