summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-07 22:45:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-07 22:45:48 +0000
commitef94ffc7836beb6bc297106851749441e0fb2254 (patch)
tree515f1b9eabdffd7a4819fc88aef44f1365c54ac0 /perl-install/fsedit.pm
parent30e6d859f43a9c69d3acbf867cd6090b52af8259 (diff)
downloaddrakx-ef94ffc7836beb6bc297106851749441e0fb2254.tar
drakx-ef94ffc7836beb6bc297106851749441e0fb2254.tar.gz
drakx-ef94ffc7836beb6bc297106851749441e0fb2254.tar.bz2
drakx-ef94ffc7836beb6bc297106851749441e0fb2254.tar.xz
drakx-ef94ffc7836beb6bc297106851749441e0fb2254.zip
great new raidAutoStartRaidtab allowing to handle existing software raids
even when RAID_AUTORUN is not supported by kernel (which is the case for us since md.o is a not builtin the kernel)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index afff117ad..5b700d387 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -90,7 +90,10 @@ sub raids {
my ($hds) = @_;
my @parts = get_fstab(@$hds);
- (grep { isRawRAID($_) } @parts) && detect_devices::raidAutoStart() or return [];
+ {
+ my @l = grep { isRawRAID($_) } @parts or return [];
+ detect_devices::raidAutoStart(@l);
+ }
fs::get_major_minor(@parts);
my %devname2part = map { $_->{dev} => { %$_, device => $_->{dev} } } read_partitions();