diff options
author | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2025-01-23 19:46:38 +0100 |
---|---|---|
committer | Mariusz Tkaczyk <mtkaczyk@kernel.org> | 2025-01-27 10:15:32 +0100 |
commit | 21e4efb1cd15c4de4a57de26b0ea2e4234aa8ce5 (patch) | |
tree | 470d66e846c16d612c2a45f32baf55dd1b9ff7dd /udev.c | |
parent | mdopen: add sbin path to env PATH when call system("modprobe md_mod") (diff) | |
download | mdadm-main.tar.xz mdadm-main.zip |
dracut installs in the initrd a custom udev rule for MD devices
(59-persistent-storage-md.rules) only to set the db_persist option (see
[1]). The main purpose is that if an MD device is activated in the initrd,
its properties are kept on the udev database after the transition from the
initrd to the rootfs. This was added to fix detection issues when LVM is
on top.
This patch would allow to remove the custom udev rule shipped by dracut
(63-md-raid-arrays.rules is already being installed in the initrd), and it
will also benefit other initrd generators that do not want to create
custom udev rules.
[1] https://github.com/dracutdevs/dracut/blob/master/modules.d/90mdraid
Signed-off-by: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Diffstat (limited to 'udev.c')
0 files changed, 0 insertions, 0 deletions