chiark / gitweb /
udev: ignore dynamic ram/loop block devices
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:40:08 +0000 (02:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:40:08 +0000 (02:40 +0200)
src/99-systemd.rules

index f7d99157f2fe3f7d3125ee67ad808a27ed1c015c..ee8deaa5f798e35d21f1c30305e8b94cb34b14cb 100644 (file)
@@ -10,7 +10,7 @@ ACTION!="add|change", GOTO="systemd_end"
 KERNEL=="tty[0-9]|tty1[0-2]", TAG="systemd"
 KERNEL=="ttyS*", TAG="systemd"
 
 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.
 
 # DM finds it funny to create additional device nodes, we need to
 merge them here, so that we recognize identical devices.