summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-29 01:12:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-29 01:12:03 +0000
commit00723acc13494a6752772d017908b23719a5243d (patch)
treea70e5bf57dea381ed14b05d9f77164a6dda92700
parent1bef19208e9611e3c6bde4e09427777ef0fef60a (diff)
downloaddrakx-00723acc13494a6752772d017908b23719a5243d.tar
drakx-00723acc13494a6752772d017908b23719a5243d.tar.gz
drakx-00723acc13494a6752772d017908b23719a5243d.tar.bz2
drakx-00723acc13494a6752772d017908b23719a5243d.tar.xz
drakx-00723acc13494a6752772d017908b23719a5243d.zip
handle mdX where X >= 10 (it should fix bug #1129)
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index d89c3a064..ae8ce61f1 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -106,7 +106,7 @@ sub raids {
my ($nb, $level, $mdparts) =
#- line format is:
#- md%d : {in}?active{ (read-only)}? {linear|raid1|raid4|raid5}{ DEVNAME[%d]{(F)}?}*
- $mdstat[$i] =~ /^md(.).* ([^ \[\]]+) (\S+\[\d+\].*)/ or next;
+ $mdstat[$i] =~ /^md(\d+).* ([^ \[\]]+) (\S+\[\d+\].*)/ or next;
$level =~ s/raid//; #- { linear | raid0 | raid1 | raid5 } -> { linear | 0 | 1 | 5 }