modutils/*: rewrite by Timo Teras <timo.teras AT iki.fi>
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 13 Sep 2008 14:59:38 +0000 (14:59 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 13 Sep 2008 14:59:38 +0000 (14:59 -0000)
commitba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5
treeb5b295f5382bd71c6184539feabf0ba061897131
parent4f3209b9d4b24ebe9b76e3bfe8ddd87af5228af9
modutils/*: rewrite by Timo Teras <timo.teras AT iki.fi>
- a lot faster (linear algorithmic complexity, smaller memory foot print)
- a lot smaller (the old code was overly complicated)
- loading of aliases is now module-init-tools compliant
- blacklisting is done correctly (-b option added)
- module argument quoting done right
- depmod now correctly generates modules.symbols and modules.alias

add/remove: 16/21 grow/shrink: 4/6 up/down: 6930/-9316 Total: -2386 bytes
   text    data     bss     dec     hex filename
 806039     592    6680  813311   c68ff busybox_old
 803498     592    6676  810766   c5f0e busybox_unstripped
12 files changed:
include/usage.h
libbb/llist.c
modutils/Config.in
modutils/Kbuild
modutils/depmod.c
modutils/insmod.c
modutils/lsmod.c
modutils/modprobe.c
modutils/modutils-24.c [new file with mode: 0644]
modutils/modutils.c [new file with mode: 0644]
modutils/modutils.h [new file with mode: 0644]
modutils/rmmod.c