chiark / gitweb /
scsi_id: make sure, we do not have slashes in values
[elogind.git] / extras / edd_id / 61-persistent-storage-edd.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION!="add|change", GOTO="persistent_storage_edd_end"
4 SUBSYSTEM!="block", GOTO="persistent_storage_edd_end"
5 KERNEL!="sd*|hd*", GOTO="persistent_storage_edd_end"
6
7 # BIOS Enhanced Disk Device
8 ENV{DEVTYPE}=="disk", IMPORT{program}="edd_id --export $tempnode"
9 ENV{DEVTYPE}=="disk", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
10 ENV{DEVTYPE}=="partition", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"
11
12 LABEL="persistent_storage_edd_end"