Browse Source
Copy /etc/mdadm.conf to initramfs (even for non-hostonly) if mdadmconf="yes" is set in dracut.conf or --mdadmconf is specified on the dracut command line. This was done, because there seems _no_ sane way to autoassemble md raid arrays. also moved rd_NO_MD to an udev ENVmaster
Harald Hoyer
15 years ago
11 changed files with 58 additions and 12 deletions
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh |
||||
. /lib/dracut-lib.sh |
||||
|
||||
info "Autoassembling MD Raid" |
||||
udevadm control --stop-exec-queue |
||||
/sbin/mdadm -As --auto=yes --run 2>&1 | vinfo |
||||
udevadm control --start-exec-queue |
Loading…
Reference in new issue