diff options
Diffstat (limited to 'rules/99-systemd.rules.in')
-rw-r--r-- | rules/99-systemd.rules.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index 021359a847..04a59c4604 100644 --- a/rules/99-systemd.rules.in +++ b/rules/99-systemd.rules.in @@ -22,6 +22,9 @@ SUBSYSTEM=="block", KERNEL!="ram*", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_T SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}="0" SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", ENV{SYSTEMD_READY}="0" +# Ignore loop devices that don't have any file attached +SUBSYSTEM=="block", KERNEL=="loop[0-9]*", TEST!="loop/backing_file", ENV{SYSTEMD_READY}="0" + # Ignore nbd devices in the "add" event, with "change" the nbd is ready ACTION=="add", SUBSYSTEM=="block", KERNEL=="nbd*", ENV{SYSTEMD_READY}="0" |