summaryrefslogtreecommitdiff
path: root/core/mdadm/mdadm_udev_install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-30 00:02:28 +0000
committerroot <root@rshg054.dnsready.net>2012-05-30 00:02:28 +0000
commitf676c2f568b9c75daa3e2b688978b877f950953d (patch)
tree59afe7e51ecb44399c2e64658841e1b5f86571fa /core/mdadm/mdadm_udev_install
parentedec45419def1b81bd663a2859684ef55ba56269 (diff)
Wed May 30 00:02:27 UTC 2012
Diffstat (limited to 'core/mdadm/mdadm_udev_install')
-rw-r--r--core/mdadm/mdadm_udev_install6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/mdadm/mdadm_udev_install b/core/mdadm/mdadm_udev_install
index be653fc74..f6f5de4ad 100644
--- a/core/mdadm/mdadm_udev_install
+++ b/core/mdadm/mdadm_udev_install
@@ -1,7 +1,7 @@
#!/bin/bash
build() {
- MODULES=" $(checked_modules "drivers/md/*" | grep -v "dm-")"
+ add_checked_modules -f 'dm-' 'drivers/md/*'
# check if a custom mdadm.conf exists
if grep -qw ^ARRAY "$BASEDIR/etc/mdadm.conf"; then
@@ -15,7 +15,9 @@ build() {
help() {
cat <<HELPEOF
- This hook loads raid arrays with udev.
+This hook loads the necessary modules for a RAID array and uses incremental
+assembly via udev at runtime to create the devices. This hook with NOT work
+without the udev hook included on the image.
HELPEOF
}