udevsend as hotplug multiplexer

Jasper Huijsmans jasper at lunar-linux.org
Wed Mar 23 06:57:17 UTC 2005


Hi nestu,

Current udev can also act as hotplug multiplexer instead of 
/sbin/hotplug, with the added advantage of sending events always in the 
correct order. Newer HAL versions will even depend on it.

I use the following patch to the mount script and it does seem to work 
for me. I don't know if this is the best place, though.

Nothing in moonbase depends on this, so it's not really necessary. But I 
thought I'd mention it anyway, maybe for the upcoming 2.6 iso... ;-)

	Jasper

--- init.d/mount        2005-03-02 18:36:37.000000000 +0100
+++ /etc/init.d/mount   2005-03-23 07:48:10.000000000 +0100
@@ -149,6 +149,10 @@
        echo     -n " * Creating missing dirs on /dev :"
        mkdir /dev/{pts,shm}
        chkresult
+
+      echo     -n " * Setting /sbin/udevsend to manage hotplug events"
+      echo "/sbin/udevsend" > /proc/sys/kernel/hotplug
+      chkresult
    fi

    if  [ ! -e /fastboot ] ; then


More information about the Lunar-dev mailing list