]> err.no Git - systemd/commitdiff
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 aed60db4936c4794adce9ed218eeb95e2f49b386..b430fe9fd865970f12a4f6e8d40968d96dd2f15d 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"