dracut/modules.d
Michal Soltys a025cc17f0 90mdraid: fix/adjust 65-md* rules and related scripts
Reworked the flow of the rules file a bit, removed redundant tests, also
should be easier to follow. It's much shorter now as well, a bit more
similar to 90lvm script - both revolve around same concepts after all.

There's no reason to treat conf-assembled arrays differently from
incremental ones. Once we hit timeout in init's udev loop, we can use
common script (mdraid_start.sh) to try force inactive arrays
into degraded mode.

md-finished.sh was kind-of out of place - it didn't really wait for any
particular device(s) to show up, just watched if onetime mdadm scripts
are still in place. Furthermore, after moving mdraid_start to --timeout
initqueue, it didn't really have too much to watch at all, besides
mdadm_auto (and that served no purpose, as we do wait for concrete
devices).

Either way, with stock 64-md fixes, current version of 65-md*.rules does
the following:

- limits assembly to certain uuids, if specified
- watch for no ddf/imsm
- if mdadm.conf => setup onetime -As script, without forced --run option
- if !mdadm.conf => incrementally assemble
- for both cases, setup timeout script, run-forcing arrays as a last resort

Signed-off-by: Michal Soltys <soltys@ziu.info>
2011-09-22 15:37:26 +02:00
..
00bootchart removed trailing whitespaces 2011-05-10 11:56:09 +02:00
00dash renamed module-info.sh to module-setup.sh 2011-02-02 16:35:18 +01:00
01fips 01fips/installkernel: add dm-mod and dm-crypt to the fipsmodules 2011-08-11 14:27:25 +02:00
02caps fixed typos 2011-07-25 09:11:56 +02:00
05busybox busybox module: parse busybox defined functions dynamically 2011-07-21 09:58:38 +02:00
10i18n use inst_simple to install non-binary files 2011-08-12 13:11:30 +02:00
10rpmversion dracut-functions: make local vars local and prefix with "_" 2011-05-12 11:06:47 +02:00
40network instmods: get filenames from stdin if no args; use it 2011-09-01 10:30:29 +02:00
45ifcfg removed trailing whitespaces 2011-05-10 11:56:09 +02:00
50gensplash dracut-functions: make local vars local and prefix with "_" 2011-05-12 11:06:47 +02:00
50plymouth 50plymouth: add plymouth.enable kernel command line option 2011-08-29 18:32:24 +02:00
60xen dracut-functions: make local vars local and prefix with "_" 2011-05-12 11:06:47 +02:00
90btrfs 90btrfs: add btrfs device with multiple components 2011-08-11 17:52:40 +02:00
90crypt 90crypt/parse-crypt.sh: also accept the beginning of the LUKS UUID 2011-08-30 14:43:57 +02:00
90dm add x-bit to *.sh 2011-08-12 16:29:28 +02:00
90dmraid 90(md|dm)raid: recognize ddf container 2011-09-22 15:37:26 +02:00
90dmsquash-live Do not use /run/udev/rules.d for udev rules 2011-09-19 12:21:51 +02:00
90kernel-modules instmods: get filenames from stdin if no args; use it 2011-09-01 10:30:29 +02:00
90livenet livenet: take into account other ca-bundle paths; use inst_any for that 2011-08-22 11:19:21 +02:00
90lvm use inst_simple to install non-binary files 2011-08-12 13:11:30 +02:00
90mdraid 90mdraid: fix/adjust 65-md* rules and related scripts 2011-09-22 15:37:26 +02:00
90multipath instmods: get filenames from stdin if no args; use it 2011-09-01 10:30:29 +02:00
91crypt-gpg add x-bit to *.sh 2011-08-12 16:29:28 +02:00
95dasd dracut-functions: make local vars local and prefix with "_" 2011-05-12 11:06:47 +02:00
95dasd_mod dracut-functions: make local vars local and prefix with "_" 2011-05-12 11:06:47 +02:00
95debug removed trailing whitespaces 2011-05-10 11:56:09 +02:00
95fcoe removed trailing whitespaces 2011-05-10 11:56:09 +02:00
95fstab-sys implement fs-lib, squash a few bugs that were part of det_fs/wrap_fsck 2011-08-11 14:27:24 +02:00
95iscsi instmods: get filenames from stdin if no args; use it 2011-09-01 10:30:29 +02:00
95nbd 95nbd/nbdroot: also mount nbd0 for root=dhcp and missing root= 2011-08-11 15:36:05 +02:00
95nfs use inst_simple to install non-binary files 2011-08-12 13:11:30 +02:00
95resume Do not use /run/udev/rules.d for udev rules 2011-09-19 12:21:51 +02:00
95rootfs-block Do not use /run/udev/rules.d for udev rules 2011-09-19 12:21:51 +02:00
95terminfo use inst_simple to install non-binary files 2011-08-12 13:11:30 +02:00
95udev-rules 95udev-rules: add input_id 2011-08-31 16:48:20 +02:00
95zfcp removed trailing whitespaces 2011-05-10 11:56:09 +02:00
95znet removed trailing whitespaces 2011-05-10 11:56:09 +02:00
96securityfs mount securityfs in a seperate dracut module 2011-09-20 11:16:53 +02:00
97biosdevname biosdevname: be verbose about biosdevname activation 2011-03-07 13:37:22 +01:00
97masterkey turn off masterkey,ecryptfs,integrity by default 2011-08-11 14:27:26 +02:00
98ecryptfs turn off masterkey,ecryptfs,integrity by default 2011-08-11 14:27:26 +02:00
98integrity mount securityfs in a seperate dracut module 2011-09-20 11:16:53 +02:00
98selinux 98selinux: use setenforce to force permissive mode 2011-08-11 14:27:25 +02:00
98syslog dracut-functions: make local vars local and prefix with "_" 2011-05-12 11:06:47 +02:00
99base mount securityfs in a seperate dracut module 2011-09-20 11:16:53 +02:00
99fs-lib 99fs-lib: add btrfsck 2011-08-11 17:52:40 +02:00
99shutdown shutdown: fixed check_shutdown loop 2011-07-20 21:11:36 +02:00