summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-10-02 10:58:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-10-02 10:58:31 +0000
commitbe2312728d8d50e15aff07f0716e48cb1c14ea02 (patch)
treeb7cde8ac8bcf9805e3d7eff456bec5a15fa61736
parent32deac174979feb39418285df1da40a5b307a237 (diff)
downloaddrakx-be2312728d8d50e15aff07f0716e48cb1c14ea02.tar
drakx-be2312728d8d50e15aff07f0716e48cb1c14ea02.tar.gz
drakx-be2312728d8d50e15aff07f0716e48cb1c14ea02.tar.bz2
drakx-be2312728d8d50e15aff07f0716e48cb1c14ea02.tar.xz
drakx-be2312728d8d50e15aff07f0716e48cb1c14ea02.zip
ataraid devices support
-rw-r--r--perl-install/devices.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 80f749921..598d551a4 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -88,6 +88,11 @@ sub entry {
$type = c::S_IFBLK();
$major = ($1 eq 'ida' ? 72 : 104) + $2;
$minor = 16 * $3 + ($4 || 0);
+ } elsif (m,(ataraid)/d(\d+)(?:p(\d+))?,) {
+ # ATA raid "ataraid/d0{p1}"
+ $type = c::S_IFBLK();
+ $major = 114;
+ $minor = 16 * $1 + ($2 || 0);
} elsif (/(.*)(\d+)$/) {
($type, $major, $minor) =
@{ ${{"fd" => [ c::S_IFBLK(), 2, 0 ],