summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/type.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-09-18 16:16:52 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-09-18 16:16:52 +0000
commit0ef39fb7b32143ef3d9c4f17a40e24b90977ebdf (patch)
treec8dc0cfb98eb5b66a7453a16251f4f22ac9cc4e3 /perl-install/fs/type.pm
parent785e220d9d8085ecc9ea2d315036c29ce08605e0 (diff)
downloaddrakx-backup-do-not-use-0ef39fb7b32143ef3d9c4f17a40e24b90977ebdf.tar
drakx-backup-do-not-use-0ef39fb7b32143ef3d9c4f17a40e24b90977ebdf.tar.gz
drakx-backup-do-not-use-0ef39fb7b32143ef3d9c4f17a40e24b90977ebdf.tar.bz2
drakx-backup-do-not-use-0ef39fb7b32143ef3d9c4f17a40e24b90977ebdf.tar.xz
drakx-backup-do-not-use-0ef39fb7b32143ef3d9c4f17a40e24b90977ebdf.zip
don't consider lvm named md* as raid (#53767)
Diffstat (limited to 'perl-install/fs/type.pm')
-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 1933f33f3..244c7126d 100644
--- a/perl-install/fs/type.pm
+++ b/perl-install/fs/type.pm
@@ -349,7 +349,7 @@ sub isNonMountable {
sub isPartOfLVM { defined $_[0]{lvm} }
sub isPartOfRAID { defined $_[0]{raid} }
sub isPartOfLoopback { defined $_[0]{loopback} }
-sub isRAID { $_[0]{device} =~ /^md/ }
+sub isRAID { $_[0]{device} =~ /^md/ && $_[0]{level} }
sub isUBD { $_[0]{device} =~ /^ubd/ } #- should be always true during an $::uml_install
sub isLVM { $_[0]{VG_name} || $_[0]{lv_name} }
sub isLoopback { defined $_[0]{loopback_file} }