dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone
c8f3db
--- mdadm-3.4/udev-md-raid-arrays.rules-orig	2016-09-13 16:17:06.275757220 -0400
c8f3db
+++ mdadm-3.4/udev-md-raid-arrays.rules	2016-09-14 16:30:33.597189689 -0400
c8f3db
@@ -5,6 +5,7 @@
c8f3db
 # handle md arrays
c8f3db
 ACTION!="add|change", GOTO="md_end"
c8f3db
 KERNEL!="md*", GOTO="md_end"
c8f3db
+ATTR{md/metadata_version}!="external:[A-Za-z]*", ATTR{size}=="0", ENV{SYSTEMD_READY}="0", GOTO="md_end"
c8f3db
 
c8f3db
 # partitions have no md/{array_state,metadata_version}, but should not
c8f3db
 # for that reason be ignored.