chiark / gitweb /
edd_id: call it only for sd* and hd*
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 20 May 2008 06:46:29 +0000 (08:46 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Tue, 20 May 2008 06:46:29 +0000 (08:46 +0200)
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"