mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
a947e5eaae
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.
13 lines
532 B
Plaintext
13 lines
532 B
Plaintext
# 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"
|