chiark / gitweb /
fix nbd error messages with a gentoo rule hack
authorGreg KH <greg@press.(none)>
Tue, 13 Sep 2005 21:10:27 +0000 (14:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 13 Sep 2005 21:10:27 +0000 (14:10 -0700)
etc/udev/gentoo/udev.rules

index cba8e677c2ae0d4693e4d361a396ca63fb0837a0..0c705f778deaf753b8d19389a9c34c7878bb1b97 100644 (file)
@@ -250,6 +250,7 @@ KERNEL=="tpm*",     NAME="%k", OWNER="tss", GROUP="tss", MODE="0600"
 # Skip all of this if we are not adding a block device
 ACTION!="add",         GOTO="persistent_end"
 SUBSYSTEM!="block",    GOTO="persistent_end"
+KERNEL=="ram*|loop*|fd*|nbd*", GOTO="persistent_end"
 
 # skip accessing removable ide devices, cause the ide drivers are horrible broken
 BUS=="ide", SYSFS{removable}="1", GOTO="no_volume_id"