From 6390dacd274faa6d960aa67d342a10a5388ef98f Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Fri, 5 Feb 2010 23:43:36 +0100 Subject: Remove the raid hook: This will be replaced by the better hook from the mdadm package --- hooks/raid | 9 --------- install/raid | 39 --------------------------------------- 2 files changed, 48 deletions(-) delete mode 100644 hooks/raid delete mode 100644 install/raid diff --git a/hooks/raid b/hooks/raid deleted file mode 100644 index cd1a920..0000000 --- a/hooks/raid +++ /dev/null @@ -1,9 +0,0 @@ -# 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} -} diff --git a/install/raid b/install/raid deleted file mode 100644 index 0b227d2..0000000 --- a/install/raid +++ /dev/null @@ -1,39 +0,0 @@ -# vim: set ft=sh: - -install () -{ - MODULES=" $(checked_modules "drivers/md/*" | grep -v "dm-") " - BINARIES="" - FILES="" - SCRIPT="raid" - add_file "/usr/lib/klibc/bin/mdassemble" "/bin/mdassemble" -} - -help () -{ -cat<,,,,dev0,dev1 - - for raid arrays with persistent superblocks: - md=,dev0,dev1,...,devn - - Parameters: - - = the number of the md device: - 0 means md0, 1 means md1, ... - - = -1 linear mode, 0 striped mode - other modes are only supported with persistent super block - - = (raid-0 and raid-1 only): - Set the chunk size as 4k << n. - - = totally ignored - - : e.g. /dev/hda1,/dev/hdc1,/dev/sda1,/dev/sdb1 -HELPEOF -} -- cgit v1.2.3-24-g4f1b