diff options
author | Tobias Powalowski <tpowa@archlinux.org> | 2006-05-07 11:27:26 +0200 |
---|---|---|
committer | Tobias Powalowski <tpowa@archlinux.org> | 2006-05-07 11:27:26 +0200 |
commit | 3c2796fc34d6b5d41c9ff7b4389651bbbe6d018b (patch) | |
tree | ef52d70f0ed030e6aca78ef7add914788ff69499 /install/autodetect | |
parent | 212033832a355b6ca1ad61f0f0460cf7b9b07c2d (diff) | |
download | mkinitcpio-3c2796fc34d6b5d41c9ff7b4389651bbbe6d018b.tar.gz mkinitcpio-3c2796fc34d6b5d41c9ff7b4389651bbbe6d018b.tar.xz |
'update the raid stuff + included a raid autodetectcion'
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@77 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/autodetect')
-rw-r--r-- | install/autodetect | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect index 6cf252c..73d8a21 100644 --- a/install/autodetect +++ b/install/autodetect @@ -7,7 +7,8 @@ install () AUTODETECT="$(auto_modules -e "/scsi/" -e "/block" -e "/fusion/" \ -e "/usb/" -e "/ide/" -e "/ieee1394/" -e "/cdrom"\ -e "/net/" -e "/pcmcia") - $(cat /proc/filesystems | grep -v nodev) " + $(cat /proc/filesystems | grep -v nodev) \ + $(mdadm -E -s /dev/hd* /dev/sd* | awk -Flevel= '{print $2}' | awk '{print $1}') " for m in $AUTODETECT; do modname="$(basename ${m%%\.ko})" |