5f5c63d1e2
* Changes of existing tools: - cpacfstats: Add support for FULL XTS (MSA 10) and HMAC (MSA 11) PAI counter - cpuplugd: Make cpuplugd compatible with hiperdispatch - dbginfo.sh: Add network sockstat info - pvapconfig: s390x exclusive build - zdev: Add option to select IPL device - zdump/dfo_s390: Support s390 DFO for vr-kernel dumps - zipl: Add support of mirror devices * Bug Fixes: - (genprotimg|zipl)/boot: discard .note.package ELF section to save memory - netboot/mk-s390image: Fix size when argument is a symlink - ziorep_config: Fix warning message when multipath device is not there. - zipl: Fix problems when target parameters are specified by user - zipl: Fix segfault when creating device-based dumps with '--dry-run' * Removed obsolete patches - s390-tools-2.34-Fix-Rust-compilation-errors.patch - s390-tools-01-zipl-src-add-basic-support-for-multiple-target-base-disks.patch - s390-tools-02-zipl-src-add-basic-support-for-multiple-target-base-disks.patch * Revendored vendor.tar.gz OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=226
24 lines
802 B
Plaintext
24 lines
802 B
Plaintext
# Rules for creating the ID_PATH for SCSI devices based on the CCW bus
|
|
# using the form: ccw-<BUS_ID>-zfcp-<WWPN>:<LUN>
|
|
#
|
|
ACTION=="remove", GOTO="zfcp_scsi_device_end"
|
|
|
|
#
|
|
# Set environment variable "ID_ZFCP_BUS" to "1" if the devices
|
|
# (both disk and partition) are SCSI devices based on FCP devices
|
|
#
|
|
KERNEL=="sd*", SUBSYSTEMS=="ccw", DRIVERS=="zfcp", ENV{.ID_ZFCP_BUS}="1"
|
|
|
|
# For SCSI disks
|
|
KERNEL=="sd*[!0-9]", SUBSYSTEMS=="scsi", \
|
|
ENV{.ID_ZFCP_BUS}=="1", ENV{DEVTYPE}=="disk", \
|
|
SYMLINK+="disk/by-path/ccw-$attr{hba_id}-zfcp-$attr{wwpn}:$attr{fcp_lun}"
|
|
|
|
|
|
# For partitions on a SCSI disk
|
|
KERNEL=="sd*[0-9]", SUBSYSTEMS=="scsi", \
|
|
ENV{.ID_ZFCP_BUS}=="1", ENV{DEVTYPE}=="partition", \
|
|
SYMLINK+="disk/by-path/ccw-$attr{hba_id}-zfcp-$attr{wwpn}:$attr{fcp_lun}-part%n"
|
|
|
|
LABEL="zfcp_scsi_device_end"
|