[arch-projects] [INITSCRIPTS][PATCH 1/2] Drop old /proc/sys/kernel/hotplug logic

Sebastien Luttringer seblu at seblu.net
Sun Apr 3 10:55:13 EDT 2011


No trace of uevent_helper in udev code.
http://git.kernel.org/?p=linux%2Fhotplug%2Fudev.git&a=search&h=HEAD&st=grep&s=uevent_helper

No trace of uevent_helper or hotplug in /lib/udev/rules.d/

>From http://lwn.net/Articles/166954/
The hotplug helper /sbin/hotplug is now officially deprecated. The
control file /proc/sys/kernel/hotplug has moved to
/sys/kernel/uevent_helper, but it is expected to be disabled on most
systems in favor of udev and the netlink interface.

So this is an old legagy. We should drop it.

Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
---
 rc.sysinit |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 93c66cf..575dfbc 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -71,8 +71,6 @@ if [[ $HWCLOCK_PARAMS ]]; then
 	fi
 fi
 
-echo > /proc/sys/kernel/hotplug
-
 stat_busy "Starting UDev Daemon"
 /sbin/udevd --daemon
 stat_done
-- 
Sebastien "Seblu" Luttringer



More information about the arch-projects mailing list