persistent storage rules: skip gnbd devices

This commit is contained in:
Kay Sievers 2006-10-13 13:16:08 +02:00
parent 0a9e36df4f
commit f2f957c394

View file

@ -5,7 +5,7 @@ ACTION!="add", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
KERNEL=="ram*|loop*|fd*|nbd*|dm-*", GOTO="persistent_storage_end"
KERNEL=="ram*|loop*|fd*|nbd*|gnbd*|dm-*", GOTO="persistent_storage_end"
# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
KERNEL=="hd*[!0-9]", ATTRS{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"