mdev coldplugging

Natanael Copa natanael.copa at gmail.com
Thu Jul 13 09:10:19 PDT 2006


I'm experimenting with udev, netlink and /sys/*/*/uevent that are used
in newer kernels.

You can search for uevent files in /sys and trigger events.

for i in `find /sys -name uevent`; do 
	echo add > $i ; 
done

With udev you can then monitor /dev/.udev/queue to detect when all the
drivers are loaded.

while [ -d /dev/.udev/queue ] ; do
	echo -n "."
	sleep 1
done

My question is, is there some way to do the same with busybox mdev?

Thanks!

--
Natanael Copa



More information about the busybox mailing list