[Buildroot] Run a custom script after USB mount

Santhosh Ramani srcoolz at gmail.com
Fri Apr 17 16:37:41 UTC 2015


Hello Lionel,


have you checked that you are actually using the udev system, and not
> mdev for example ?
> As an aside note, I do the same using mdev and it works perfectly, so
> I could get rid of udev and make my system lighter.


I checked the daemons that are running, and it seems udev is running.
However, I do see /sbin/mdev and /sbin/udevd, so not entirely sure which
one is running. Under System Configuration /dev management, I do have eudev
selected rather than mdev.

But regardless, shouldn't the script execute when USB is detected. I see
that it gets mounted properly at /media/usb0 but the script doesn't seem to
run.

Thanks once again for your reply.
Regards

Santhosh

-- 
Greater the Difficulty....Sweeter is the Victory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150417/7206b452/attachment-0002.html>


More information about the buildroot mailing list