]> git.ipfire.org Git - thirdparty/mdadm.git/commit
udev rules: try "mdadm -I" on "change" events.
authorNeilBrown <neilb@suse.de>
Wed, 11 Dec 2013 01:29:22 +0000 (12:29 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 11 Dec 2013 01:29:22 +0000 (12:29 +1100)
commit25392f5fc59f96fb766ecb5617d5276f8c87d489
tree8c7926a0e108e865919b8aa2bc946882891d5753
parent05ec50a57badfd220373aa06afd7d3fac0beb49f
udev rules: try "mdadm -I" on "change" events.

We need to attempt "mdadm -I" on "change" events as well as "add" events,
as the "change" make make a device ready to be part of an array.
This is particularly important for stacked md devices. When the
member devices are "add"ed they don't have any content visible yet.
That doesn't happen until a "change".

Idea taken from Fedora udev file.

Signed-off-by: NeilBrown <neilb@suse.de>
udev-md-raid-assembly.rules