From e851c50ae8b2cb273cc22b700d64b8ccaf6b5f9f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 27 Nov 2009 11:05:33 +0100 Subject: fixed autodetection of raid module on mdadm>=3.0.x --- install/autodetect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') 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) -- cgit v1.2.3-24-g4f1b