chiark / gitweb /
edd_id: add cciss devices
authorJohn Wright <jsw@debian.org>
Wed, 22 Apr 2009 12:53:35 +0000 (14:53 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 22 Apr 2009 12:53:35 +0000 (14:53 +0200)
Since cciss devices can be BIOS boot devices just as well as sd* and
hd*, the edd_id program should be run on them so that the later
/dev/disk/by-id/edd-* rules will work.

extras/edd_id/61-persistent-storage-edd.rules

index bd020b7..54ae086 100644 (file)
@@ -2,7 +2,7 @@
 
 ACTION!="add|change", GOTO="persistent_storage_edd_end"
 SUBSYSTEM!="block", GOTO="persistent_storage_edd_end"
 
 ACTION!="add|change", GOTO="persistent_storage_edd_end"
 SUBSYSTEM!="block", GOTO="persistent_storage_edd_end"
-KERNEL!="sd*|hd*", GOTO="persistent_storage_edd_end"
+KERNEL!="sd*|hd*|cciss*", GOTO="persistent_storage_edd_end"
 
 # BIOS Enhanced Disk Device
 ENV{DEVTYPE}=="disk", IMPORT{program}="edd_id --export $tempnode"
 
 # BIOS Enhanced Disk Device
 ENV{DEVTYPE}=="disk", IMPORT{program}="edd_id --export $tempnode"