chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8538561
)
udev: ignore block devices which no known contents, to avoid trying of mounts/swapons...
author
Lennart Poettering
<lennart@poettering.net>
Wed, 16 Feb 2011 11:57:00 +0000
(12:57 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 16 Feb 2011 18:34:38 +0000
(19:34 +0100)
src/99-systemd.rules
patch
|
blob
|
history
diff --git
a/src/99-systemd.rules
b/src/99-systemd.rules
index 5cdb9e0e9ac4c740bead62915ceda15a9172f2db..0ac6d0023fc0a13e22734f2864f26c83af1d4988 100644
(file)
--- a/
src/99-systemd.rules
+++ b/
src/99-systemd.rules
@@
-7,12
+7,12
@@
ACTION!="add|change", GOTO="systemd_end"
ACTION!="add|change", GOTO="systemd_end"
-ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"
-
KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
KERNEL=="ttyS*", TAG+="systemd"
SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd"
KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
KERNEL=="ttyS*", TAG+="systemd"
SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd"
+SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"
+SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV{SYSTEMD_READY}="0"
# We need a hardware independent way to identify network devices. We
# use the /sys/subsystem path for this. Current vanilla kernels don't
# We need a hardware independent way to identify network devices. We
# use the /sys/subsystem path for this. Current vanilla kernels don't