depmod

dronnikov at gmail.com dronnikov at gmail.com
Tue May 27 19:55:03 UTC 2008


Hello, Bernhard!

Attached is slightly modified depmod.c.
Sorry, I can not provide diff. I marked changed points with DVV with comments.

Suggested: malloc+sprintf+strstr -> triple strcmp. Will it be better?
Fixed: endless loop in dependencies verifying code.
Fixed: if a user specifies -b <dir> then why on earth we append /lib/modules/?!
	I use /usr/lib/modules/*.ko. How can I use depmod in that case?
	Add a "ln -s . 2.6.25.2" to that directory?

Still: generated modprobe.conf is unusable...

--
Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: depmod.c
Type: application/octet-stream
Size: 5267 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080527/33fa4e2c/attachment-0002.obj 


More information about the busybox mailing list