mdev not firing

Vladimir Dronnikov dronnikov at gmail.com
Mon May 31 14:47:00 UTC 2010


> It seems that the kernel is not calling what is given in
> /proc/sys/kernel/hotplug or that mdev is not sourcing /etc/mdev.conf

You can make /proc/sys/kernel/hotplug point to a helper script (say,
/etc/hotplug) which can read:

#!/bin/sh
set >>/tmp/MDEV
echo $@ >>/tmp/MDEV
exec /bin/busybox mdev $*

and then analyse /tmp/MDEV.

And if you have strace on your system you can even:

#!/bin/sh
set >>/tmp/MDEV
echo $@ >>/tmp/MDEV
exec /usr/bin/strace -f -v -s1024 -o /tmp/log.txt /bin/busybox mdev $*

-- Vladimir


More information about the busybox mailing list