Hello, Denys!

Made a new patch. Tried to fix the issues you pointed out.

Please, try it.

TIA,
--
Vladimir

P.S.

Still hesitating:
1) whether to delegate actual module loading to native BB insmod or use bundled 
procedure?
2) race condition arises when modules.dep.bb is absent and a bunch of modprobes 
is called (e.g. udevtrigger at system startup).
The quick solution is to force running depmod prior to udevtrigger. So whether 
to implement locking (mutexes? flock?) or 
abandon filesystem-backed module dependencies storage (modules.dep.bb) and 
shift to memory-backed one?

--
Vladimir

Attachment: modprobe.patch
Description: Binary data

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to