On Wed, Mar 30, 2011 at 8:01 PM, Tom Gundersen <teg@jklm.no> wrote:
/proc/sys/kerne/hotplug has been deprecated (moved to /sys/kernel/uevent_helper) since 2.6.16.
This updates it. Note, this should not be necessary, as there is no reason this string should not already be empty.
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: Tom Gundersen <teg@jklm.no> --- rc.sysinit | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit index cd24c46..69fdab3 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -72,9 +72,8 @@ if [[ $HWCLOCK_PARAMS ]]; then fi fi
-echo > /proc/sys/kernel/hotplug - stat_busy "Starting UDev Daemon" +echo "" > /sys/kernel/uevent_helper /sbin/udevd --daemon stat_done
-- 1.7.4.2
-- Sébastien Luttringer www.seblu.net