summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-02-07 11:02:02 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-07 11:02:02 +0100
commit1a91e4fa8e2d9823082843e98021c3345f82f072 (patch)
treeb4d7fc635b38c699133aabbac56f9b781292c7ba
parent4fde9323f8078a6d4a4f4bb58e4be914602d5bf5 (diff)
downloadmkinitcpio-1a91e4fa8e2d9823082843e98021c3345f82f072.tar.gz
mkinitcpio-1a91e4fa8e2d9823082843e98021c3345f82f072.tar.xz
Revert commit 4fde9323f8078a6d4a4f4bb58e4be914602d5bf5, this shouldn't be applied to the master branch
-rw-r--r--hooks/raid9
1 files changed, 9 insertions, 0 deletions
diff --git a/hooks/raid b/hooks/raid
new file mode 100644
index 0000000..cd1a920
--- /dev/null
+++ b/hooks/raid
@@ -0,0 +1,9 @@
+# vim: set ft=sh:
+run_hook ()
+{
+ #TODO scan for these somehow...
+ /sbin/modprobe -aq linear multipath raid0 raid1 raid456 raid10 >/dev/null 2>&1
+ # md= can be specified multiple times. The simplistic commandline
+ # parsing does not handle this, so we will let mdassemble parse it
+ /bin/mdassemble ${CMDLINE}
+}