diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-29 01:12:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-29 01:12:03 +0000 |
commit | 00723acc13494a6752772d017908b23719a5243d (patch) | |
tree | a70e5bf57dea381ed14b05d9f77164a6dda92700 /perl-install/fsedit.pm | |
parent | 1bef19208e9611e3c6bde4e09427777ef0fef60a (diff) | |
download | drakx-backup-do-not-use-00723acc13494a6752772d017908b23719a5243d.tar drakx-backup-do-not-use-00723acc13494a6752772d017908b23719a5243d.tar.gz drakx-backup-do-not-use-00723acc13494a6752772d017908b23719a5243d.tar.bz2 drakx-backup-do-not-use-00723acc13494a6752772d017908b23719a5243d.tar.xz drakx-backup-do-not-use-00723acc13494a6752772d017908b23719a5243d.zip |
handle mdX where X >= 10 (it should fix bug #1129)
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
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 } |