depmod

Bernhard Fischer rep.dot.nop at gmail.com
Mon May 26 05:06:10 PDT 2008


On Sat, May 24, 2008 at 10:52:51PM +0200, Denys Vlasenko wrote:
>On Friday 23 May 2008 20:19, dronnikov at gmail.com wrote:
>> Hello!
>> 
>> Attached is a simple awk script which I use to generate modprobe.conf on my system.
>> 
>> As IMO converting its logic to C would result in more bloaty code than 1262 bytes (its length)

This is simply not correct.

$ svn log -r22079
------------------------------------------------------------------------
r22079 | aldot | 2008-05-26 14:01:49 +0200 (Mon, 26 May 2008) | 4 lines

- add simple first-draft unoptimized depmod just to proove Vladimir Dronnikov wrong
   text	   data	    bss	    dec	    hex	filename
    569	      0	      0	    569	    239	modutils/depmod.o

------------------------------------------------------------------------

And note that this is bloated as hell. Without support for compressed
modules, we should get away with <= 500 bytes. Shrink it to below 500
bytes and then we can eventually add optional decompression to the
thing, fwiw.

>> I want to share it as is.
>
>Dropped it into docs/ dir.


More information about the busybox mailing list