diff options
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index a50d70953..7904246ea 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -96,6 +96,11 @@ sub entry { $type = c::S_IFBLK(); $major = 114; $minor = 16 * $1 + ($2 || 0); + } elsif (m,(mmcblk)(\d+)(?:p(\d+))?,) { + # MMC/SD "mmcblk0{p1}" + $type = c::S_IFBLK(); + $major = 179; + $minor = 8 * $1 + ($2 || 0); } elsif (my ($prefix, $nb) = /(.*?)(\d+)$/) { my $f = ${{"fd" => sub { c::S_IFBLK(), 2, 0 }, "hidbp-mse-" => sub { c::S_IFCHR(), 10, 32 }, |