summaryrefslogtreecommitdiffstats
path: root/hooks/raid
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-05 17:12:55 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-05 17:12:55 +0200
commit079a37dfaa422323a5bb589fb036e23f83e2ac72 (patch)
treef79c8acb402988a1c9ec560790c2e88f3a1f58ac /hooks/raid
parent30d61eedc925c91d12055b01d4b1ff4559c876b9 (diff)
downloadmkinitcpio-079a37dfaa422323a5bb589fb036e23f83e2ac72.tar.gz
mkinitcpio-079a37dfaa422323a5bb589fb036e23f83e2ac72.tar.xz
Fixes:
lvm2+encrypt: modprobe dm-mode before the check for device-mapper raid: Pass full CMDLINE to mdassemble git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@65 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'hooks/raid')
-rw-r--r--hooks/raid4
1 files changed, 3 insertions, 1 deletions
diff --git a/hooks/raid b/hooks/raid
index 5cf4b2f..f234734 100644
--- a/hooks/raid
+++ b/hooks/raid
@@ -3,5 +3,7 @@ run_hook ()
{
#TODO scan for these somehow...
/bin/modprobe -aq raid0 raid1 raid2 raid5 raid6 >/dev/null 2>&1
- /bin/mdassemble ${md} ${raid}
+ # md= can be specified multiple times. The simplistic commandline
+ # parsing does not handle this, so we will let mdassemble parse it
+ /bin/mdassemble ${CMDLINE}
}