Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
systemd
80-hotplug-cpu-mem.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 80-hotplug-cpu-mem.rules of Package systemd
# Do not edit this file under /usr/lib/udev/rules.d, it will be overwritten on update # If you need modifications, copy it to /etc/udev/rules.d and edit it there ACTION!="add", GOTO="hotplug_cpu_end" SUBSYSTEM!="cpu|memory", GOTO="hotplug_cpu_end" PROGRAM=="/usr/bin/uname -m", ENV{.ARCH}="$result" # # Hotplug physical CPU # SUBSYSTEM=="cpu", ENV{.ARCH}=="x86_64", TEST=="online", ATTR{online}=="0", ATTR{online}="1" # # Hotplug physical memory. Instances of tmpfs are remounted so their # size are recalculated. This might be needed if some sizes were # specified relative to the total amount of memory (boo#869603). For # now make it simple and remount all tmpfs regardless of how their # size are specified. It should be handled by the kernel as it has a # lot of shortcomings anyways (tmpfs mounted by other processes, mount # namespaces, ...) # SUBSYSTEM=="memory", ENV{.ARCH}!="s390x", ATTR{state}=="offline", ATTR{state}="online", \ RUN+="/bin/sh -c ' \ while read src dst fs opts unused; do \ case $fs in \ tmpfs) mount -o remount \"$dst\" ;; \ esac \ done </proc/self/mounts" LABEL="hotplug_cpu_end"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor