37e37b2965
- Rebase to 1.44 release - Enable supplemental udev rules - Fix sg_turs help invocation in an old mode (#1683343) - Fix sg_raw printing error about device not specified on version request (#1627657) - Fix coverity scan warnings (#1633235) This is basically a resync to RHEL 8.2 version.
18 lines
624 B
Plaintext
18 lines
624 B
Plaintext
#
|
|
# FC WWPN-based by-path links
|
|
#
|
|
|
|
ACTION!="add|change", GOTO="fc_wwpn_end"
|
|
KERNEL!="sd*", GOTO="fc_wwpn_end"
|
|
|
|
ENV{DEVTYPE}=="disk", IMPORT{program}="fc_wwpn_id %p"
|
|
ENV{DEVTYPE}=="partition", IMPORT{parent}="FC_*"
|
|
ENV{FC_TARGET_WWPN}!="?*", GOTO="fc_wwpn_end"
|
|
ENV{FC_INITIATOR_WWPN}!="?*", GOTO="fc_wwpn_end"
|
|
ENV{FC_TARGET_LUN}!="?*", GOTO="fc_wwpn_end"
|
|
|
|
ENV{DEVTYPE}=="disk", SYMLINK+="disk/by-path/fc-$env{FC_INITIATOR_WWPN}-$env{FC_TARGET_WWPN}-lun-$env{FC_TARGET_LUN}"
|
|
ENV{DEVTYPE}=="partition", SYMLINK+="disk/by-path/fc-$env{FC_INITIATOR_WWPN}-$env{FC_TARGET_WWPN}-lun-$env{FC_TARGET_LUN}-part%n"
|
|
|
|
LABEL="fc_wwpn_end"
|