summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/99-systemd.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index f7d99157f2..ee8deaa5f7 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -10,7 +10,7 @@ ACTION!="add|change", GOTO="systemd_end"
KERNEL=="tty[0-9]|tty1[0-2]", TAG="systemd"
KERNEL=="ttyS*", TAG="systemd"
-SUBSYSTEM=="block", TAG="systemd"
+SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG="systemd"
# DM finds it funny to create additional device nodes, we need to
merge them here, so that we recognize identical devices.