summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-02-08 19:34:54 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-02-08 19:34:54 +0000
commit374adf19288216f2e114b898c43e62dbf817fa19 (patch)
treed02a15f0ae3f238a858b7d769617181d768e8854 /perl-install/lvm.pm
parentd631b34832cab37a569d9927c059d74c938a4c09 (diff)
downloaddrakx-backup-do-not-use-374adf19288216f2e114b898c43e62dbf817fa19.tar
drakx-backup-do-not-use-374adf19288216f2e114b898c43e62dbf817fa19.tar.gz
drakx-backup-do-not-use-374adf19288216f2e114b898c43e62dbf817fa19.tar.bz2
drakx-backup-do-not-use-374adf19288216f2e114b898c43e62dbf817fa19.tar.xz
drakx-backup-do-not-use-374adf19288216f2e114b898c43e62dbf817fa19.zip
Add back and fix lvm in patitioning wizard
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r--perl-install/lvm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 3205fa2fd..15fbe554a 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -17,7 +17,7 @@ sub new {
my ($class, $name) = @_;
$name =~ s/[^\w-]/_/g;
$name = substr($name, 0, 63); # max length must be < NAME_LEN / 2 where NAME_LEN is 128
- bless { disks => [], VG_name => $name }, $class;
+ bless { disks => [], VG_name => $name, device => $name }, $class;
}
sub use_pt_type { 0 }
sub hasExtended { 0 }