summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorTobias Powalowski <tobias@T-POWA-LX.(none)>2009-11-27 11:05:33 +0100
committerTobias Powalowski <tobias@T-POWA-LX.(none)>2009-11-27 11:05:33 +0100
commite851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f (patch)
treee017cb73306664f3a2e541eef9c06ccb2056a4b1 /install
parent8e8d58126d1eac45527358a28489310b7db5183a (diff)
downloadmkinitcpio-e851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f.tar.gz
mkinitcpio-e851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f.tar.xz
fixed autodetection of raid module on mdadm>=3.0.x
Diffstat (limited to 'install')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index 871b0f3..b3e6b90 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -31,7 +31,7 @@ install ()
done
if [ -e /sbin/mdadm ]; then
- for raidmod in $(/sbin/mdadm -E -s /dev/hd* /dev/sd* /dev/rd/* /dev/ida/* /dev/cciss/* /dev/ataraid/* \
+ for raidmod in $(/sbin/mdadm -E -s -v /dev/hd* /dev/sd* /dev/rd/* /dev/ida/* /dev/cciss/* /dev/ataraid/* /dev/mapper/* \
| awk -Flevel= '{print $2}' | awk '{print $1}'); do
case "${raidmod}" in
raid4|raid5|raid6)