From 1a91e4fa8e2d9823082843e98021c3345f82f072 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 7 Feb 2010 11:02:02 +0100 Subject: Revert commit 4fde9323f8078a6d4a4f4bb58e4be914602d5bf5, this shouldn't be applied to the master branch --- hooks/raid | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hooks/raid 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} +} -- cgit v1.2.3-24-g4f1b