summaryrefslogtreecommitdiffstats
path: root/install/raid
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-05-02 06:36:19 +0200
committerAaron Griffin <aaron@archlinux.org>2006-05-02 06:36:19 +0200
commitdbfcaacf40ca356d7623408b4bfca828f8bd880d (patch)
tree9b104bd4188134bda0b52f0a40dde7537a531c72 /install/raid
parent3a764f2b15c44b17d098629de5eacdd164b5ddc7 (diff)
downloadmkinitcpio-dbfcaacf40ca356d7623408b4bfca828f8bd880d.tar.gz
mkinitcpio-dbfcaacf40ca356d7623408b4bfca828f8bd880d.tar.xz
Misc changes to module detection - tpowa
Config file comments mdassemble in raid hook + additional raid help git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@40 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/raid')
-rw-r--r--install/raid16
1 files changed, 14 insertions, 2 deletions
diff --git a/install/raid b/install/raid
index 6f3c90a..84339c5 100644
--- a/install/raid
+++ b/install/raid
@@ -6,12 +6,24 @@ install ()
BINARIES=""
FILES=""
SCRIPT="raid"
+ add_file "/usr/lib/klibc/bin/mdassemble" "/bin/mdassemble"
}
help ()
{
cat<<HELPEOF
- This hook loads the necessary modules for an raid root device.
- Detection will take place at runtime.
+ This hook loads the necessary modules for an raid root device,
+ and assemble the raid device when run.
+
+ Supported Kernel Parameters:
+ * raid=noautodetect : This setting is only effective if set to
+ noautodetect. When set to noautodetect, the md= parameter is used.
+ * md= ::: TODO ::: md=0,/dev/sda3,/dev/sda4
+
+ Important Note: kinit handles raid assembly by itself. If you
+ do not need to run any additional hooks on the assembled array
+ (i.e. LVM, encrypted root, etc), it is recommended that you
+ let kinit handle the assembly. You will still need to load
+ the proper raid* modules via the MODULES setting.
HELPEOF
}