chiark / gitweb /
edd_id: call it only for sd* and hd*
[elogind.git] / extras / edd_id / 61-persistent-storage-edd.rules
index aed60db..b430fe9 100644 (file)
@@ -1,6 +1,8 @@
 # do not edit this file, it will be overwritten on update
 
 ACTION!="add", GOTO="persistent_storage_edd_end"
+SUBSYSTEM!="block", GOTO="persistent_storage_edd_end"
+KERNEL!="sd*|hd*", GOTO="persistent_storage_edd_end"
 
 # BIOS Enhanced Disk Device
 ENV{DEVTYPE}=="disk", IMPORT{program}="edd_id --export $tempnode"