diff options
author | Tobias Powalowski <tobias@T-POWA-LX.(none)> | 2009-11-27 11:05:33 +0100 |
---|---|---|
committer | Tobias Powalowski <tobias@T-POWA-LX.(none)> | 2009-11-27 11:05:33 +0100 |
commit | e851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f (patch) | |
tree | e017cb73306664f3a2e541eef9c06ccb2056a4b1 | |
parent | 8e8d58126d1eac45527358a28489310b7db5183a (diff) | |
download | mkinitcpio-e851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f.tar.gz mkinitcpio-e851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f.tar.xz |
fixed autodetection of raid module on mdadm>=3.0.x
-rw-r--r-- | install/autodetect | 2 |
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) |