summaryrefslogtreecommitdiff
path: root/extras/edd_id/61-persistent-storage-edd.rules
blob: 54ae0865e49fad990846f21c1dd9a39c074c0945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# do not edit this file, it will be overwritten on update

ACTION!="add|change", GOTO="persistent_storage_edd_end"
SUBSYSTEM!="block", 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"
ENV{DEVTYPE}=="disk", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
ENV{DEVTYPE}=="partition", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"

LABEL="persistent_storage_edd_end"