[uClibc] Problem with hotplugging

Stephan Henningsen sth at amplex.dk
Mon Aug 15 15:01:47 UTC 2005


Hi,

I'm running Linux 2.4.27 with CONFIG_HOTPLUG.

I've written a script, /bin/hest, amd made it chmod a+rx:

#!/bin/ash
#Yes, I use ash.
echo HELLO WORLD $@
echo HELLO WORLD $@>/tmp/hest
exit 0

I've told Linux to use it:
echo /bin/hest>/proc/sys/kernel/hotplug

Now I modprobe usb-storage sd_mod vfat.


Finally I insert a usb memory dongle,
but my script is never executed.

What do I need to make to execute?

-- 
Stephan Henningsen



More information about the uClibc mailing list