4 add_checked_modules
-f 'dm-' 'drivers/md/*'
6 # check if a custom mdadm.conf exists
7 if grep -qw ^ARRAY
"$BASEDIR/etc/mdadm.conf"; then
8 echo "Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays."
9 add_file
"/etc/mdadm.conf"
13 '63-md-raid-arrays.rules' \
14 '64-md-raid-assembly.rules'
19 This hook loads the necessary modules for a RAID array and uses incremental
20 assembly via udev at runtime to create the devices. This hook will NOT work
21 without the udev hook included on the image.
25 # vim: set ft=sh ts=4 sw=4 et: