summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-22 10:17:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-22 10:17:25 +0000
commit7e252c87d61d61ee1fadf9ce6a494fe444f8c45c (patch)
tree991bb2081e0b4cec6534318e96166069aee0731d /perl-install/diskdrake
parent87b0f66028e8e20eb09b56ab40fa29ae1c05e96e (diff)
downloaddrakx-backup-do-not-use-7e252c87d61d61ee1fadf9ce6a494fe444f8c45c.tar
drakx-backup-do-not-use-7e252c87d61d61ee1fadf9ce6a494fe444f8c45c.tar.gz
drakx-backup-do-not-use-7e252c87d61d61ee1fadf9ce6a494fe444f8c45c.tar.bz2
drakx-backup-do-not-use-7e252c87d61d61ee1fadf9ce6a494fe444f8c45c.tar.xz
drakx-backup-do-not-use-7e252c87d61d61ee1fadf9ce6a494fe444f8c45c.zip
ensure {lv_name} is set when calling check_mntpoint() from Create() (via check()) (bugzilla #14253)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index e4b01a88f..a22d54e6b 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -488,6 +488,9 @@ sub Create {
$part->{size} = $part->{maxsize};
fs::type::suggest_fs_type($part, 'ext3');
}
+ if (isLVM($hd)) {
+ lvm::suggest_lv_name($hd, $part);
+ }
#- update adjustment for start and size, take into account the minimum partition size
#- including one less sector for start due to a capacity to increase the adjustement by