| |
| |
| |
| SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1" |
| |
| |
| SUBSYSTEM!="memory", GOTO="memory_hotplug_end" |
| ACTION!="add", GOTO="memory_hotplug_end" |
| PROGRAM="/bin/uname -p", RESULT=="s390*", GOTO="memory_hotplug_end" |
| |
| ENV{.state}="online" |
| PROGRAM="/bin/systemd-detect-virt", RESULT=="none", ENV{.state}="online_movable" |
| ATTR{state}=="offline", ATTR{state}="$env{.state}" |
| |
| LABEL="memory_hotplug_end" |
| |
| |
| ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge" |
| |
| |
| SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg" |
| SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_target", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg" |
| |
| |
| KERNEL=="prandom", MODE="0644" |
| |
| |
| |
| |
| ACTION=="remove", GOTO="zfcp_scsi_device_end" |
| |
| |
| |
| |
| |
| KERNEL=="sd*", SUBSYSTEMS=="ccw", DRIVERS=="zfcp", ENV{.ID_ZFCP_BUS}="1" |
| |
| |
| 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}" |
| |
| |
| |
| 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" |