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 f7d9915..ee8deaa 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"
 
-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.