summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/proc_partitions.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-20 06:38:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-20 06:38:06 +0000
commit5c8010ccef4dcc91d572ee09e5ce1c7cbf575581 (patch)
tree79155bc13a056fee32077819a34692198b6b4984 /perl-install/fs/proc_partitions.pm
parenta00c3995a27103b97534c3957dff9441874fd9ce (diff)
downloaddrakx-backup-do-not-use-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar
drakx-backup-do-not-use-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar.gz
drakx-backup-do-not-use-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar.bz2
drakx-backup-do-not-use-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.tar.xz
drakx-backup-do-not-use-5c8010ccef4dcc91d572ee09e5ce1c7cbf575581.zip
initial dmraid support
Diffstat (limited to 'perl-install/fs/proc_partitions.pm')
-rw-r--r--perl-install/fs/proc_partitions.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fs/proc_partitions.pm b/perl-install/fs/proc_partitions.pm
index 1cb3acfd1..1d40840f5 100644
--- a/perl-install/fs/proc_partitions.pm
+++ b/perl-install/fs/proc_partitions.pm
@@ -59,6 +59,8 @@ sub read {
sub compare {
my ($hd) = @_;
+ $hd->{bus} =~ /^dm_/ and log::l("skipping /proc/partititions check for dmraid $hd->{device}"), return;
+
my @l1 = partition_table::get_normal_parts($hd);
my @l2 = grep { $_->{rootDevice} eq $hd->{device} } &read([$hd]);