From 7e252c87d61d61ee1fadf9ce6a494fe444f8c45c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 22 Mar 2005 10:17:25 +0000 Subject: ensure {lv_name} is set when calling check_mntpoint() from Create() (via check()) (bugzilla #14253) --- perl-install/diskdrake/interactive.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/diskdrake/interactive.pm') 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 -- cgit v1.2.1