summaryrefslogtreecommitdiff
path: root/src/99-systemd.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-05 20:32:08 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-05 20:32:08 +0200
commitd5762cf5404cbbf557df014b04ee1e29ce852823 (patch)
tree4a3ea5d7b106e278c21a0fc3940e542fc1092eaa /src/99-systemd.rules
parent4e002583fad5ba9a130d4c32c13c944bc5f29934 (diff)
udev: tag virtio serial ports with systemd by default
Diffstat (limited to 'src/99-systemd.rules')
-rw-r--r--src/99-systemd.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index f262185e4e..f015d5e67b 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -10,6 +10,8 @@ ACTION=="remove", GOTO="systemd_end"
SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*", TAG+="systemd"
+KERNEL=="vport*", 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"