[systemd-commits] rules/99-systemd.rules.in
Kay Sievers
kay at kemper.freedesktop.org
Mon Sep 24 06:06:20 PDT 2012
rules/99-systemd.rules.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d2fff1ced447c09c6601a6617300467ccd81660b
Author: Kay Sievers <kay at vrfy.org>
Date: Mon Sep 24 14:55:25 2012 +0200
rules: only mark MD disks, not partitions, with SYSTEMD_READY=0
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in
index 81bcf4a..a5e43cd 100644
--- a/rules/99-systemd.rules.in
+++ b/rules/99-systemd.rules.in
@@ -19,8 +19,8 @@ SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=
SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV{SYSTEMD_READY}="0"
# Ignore raid devices that are not yet assembled and started
-SUBSYSTEM=="block", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}="0"
-SUBSYSTEM=="block", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", ENV{SYSTEMD_READY}="0"
+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 nbd devices in the "add" event, with "change" the nbd is ready
ACTION=="add", SUBSYSTEM=="block", KERNEL=="nbd*", ENV{SYSTEMD_READY}="0"
More information about the systemd-commits
mailing list