summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/devices.pm')
-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 ],