Hello,

Please find attached a patch to add modinfo applet.

function                                             old     new   delta
modinfo_main                                           -     385    +385
.rodata                                           133520  133744    +224
packed_usage                                       24300   24410    +110
static.shortcuts                                       -      16     +16
applet_names                                        1880    1888      +8
applet_main                                         1132    1136      +4
applet_nameofs                                       566     568      +2
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 5/0 up/down: 749/0)             Total: 749
bytes

$ ./busybox_unstripped modinfo --help
BusyBox v1.12.0.svn (2008-08-08 13:22:58 CEST) multi-call binary

Usage: modinfo [-adlp0] [-F keyword] MODULE

Options:
        -a              Shortcut for '-F author'
        -d              Shortcut for '-F description'
        -l              Shortcut for '-F license'
        -p              Shortcut for '-F parm'
        -F keyword      Keyword to look for
        -0              Use \0 string separator. Not \n

-pascal

Attachment: modinfo.u
Description: Binary data

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to