summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-01 09:20:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-01 09:20:28 +0000
commit3c825b15f52f521a681b177a50b4f1ff41a7711f (patch)
tree2c65b8b83a43ff648b90b5d7969160c46b223040 /perl-install
parent1e41891e314dc87e382b76f0f296e85e9599cb34 (diff)
downloaddrakx-3c825b15f52f521a681b177a50b4f1ff41a7711f.tar
drakx-3c825b15f52f521a681b177a50b4f1ff41a7711f.tar.gz
drakx-3c825b15f52f521a681b177a50b4f1ff41a7711f.tar.bz2
drakx-3c825b15f52f521a681b177a50b4f1ff41a7711f.tar.xz
drakx-3c825b15f52f521a681b177a50b4f1ff41a7711f.zip
ensure isLVM() works on both the VG and the partitions
(isLVM() on a part was already used once in fsedit::check_mntpoint())
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs/type.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm
index 57de303c3..974eaf36a 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -335,7 +335,7 @@ sub isPartOfRAID { defined $_[0]{raid} }
sub isPartOfLoopback { defined $_[0]{loopback} }
sub isRAID { $_[0]{device} =~ /^md/ }
sub isUBD { $_[0]{device} =~ /^ubd/ } #- should be always true during an $::uml_install
-sub isLVM { $_[0]{VG_name} }
+sub isLVM { $_[0]{VG_name} || $_[0]{lv_name} }
sub isLoopback { defined $_[0]{loopback_file} }
sub isMounted { $_[0]{isMounted} }
sub isBusy { isMounted($_[0]) || isPartOfRAID($_[0]) || isPartOfLVM($_[0]) || isPartOfLoopback($_[0]) }