diff options
-rw-r--r-- | udev-md-raid.rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/udev-md-raid.rules b/udev-md-raid.rules index 4b0a416..eec16b7 100644 --- a/udev-md-raid.rules +++ b/udev-md-raid.rules @@ -10,6 +10,10 @@ ACTION=="change", GOTO="md_no_incr" LABEL="md_no_incr" KERNEL!="md*", GOTO="md_end" +# partitions have no md/{array_state,metadata_version}, but should not +# for that reason be ignored. +ENV{DEVTYPE}=="partition", GOTO="md_ignore_state" + # container devices have a metadata version of e.g. 'external:ddf' and # never leave state 'inactive' ATTR{md/metadata_version}=="external:[A-Za-z]*", ATTR{md/array_state}=="inactive", GOTO="md_ignore_state" |