2014-07-14 17:05:04 +02:00
|
|
|
--- systemd-210/rules/80-hotplug-cpu-mem.rules
|
|
|
|
+++ systemd-210/rules/80-hotplug-cpu-mem.rules 2014-05-21 15:47:01.885605543 +0000
|
|
|
|
@@ -0,0 +1,12 @@
|
2013-06-21 15:20:36 +02:00
|
|
|
+# do not edit this file, it will be overwritten on update
|
|
|
|
+
|
|
|
|
+# Hotplug physical CPU
|
|
|
|
+SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", \
|
|
|
|
+ ATTR{online}="1"
|
|
|
|
+
|
|
|
|
+# Hotplug physical memory
|
|
|
|
+SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline", \
|
2014-07-14 17:05:04 +02:00
|
|
|
+ ATTR{state}="online", TAG+="tmpfs"
|
|
|
|
+
|
|
|
|
+#
|
|
|
|
+TAG=="tmpfs", RUN+="/usr/lib/udev/remount-tmpfs"
|
|
|
|
--- systemd-210/Makefile.am
|
|
|
|
+++ systemd-210/Makefile.am
|
2013-07-23 11:21:21 +02:00
|
|
|
@@ -2480,6 +2480,10 @@ dist_udevrules_DATA += \
|
2013-06-26 10:55:18 +02:00
|
|
|
rules/73-seat-numlock.rules
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
+dist_udevrules_DATA += \
|
|
|
|
+ rules/80-hotplug-cpu-mem.rules
|
|
|
|
+
|
|
|
|
+# ------------------------------------------------------------------------------
|
|
|
|
if ENABLE_GUDEV
|
|
|
|
if ENABLE_GTK_DOC
|
|
|
|
SUBDIRS += \
|