Commit Graph

743 Commits

Author SHA1 Message Date
Denys Vlasenko
ede737b7cf ntpd: add -S PROG option. This feature is crucial for CMOS/RTC syncronization
function                                             old     new   delta
run_script                                           112     278    +166
ntpd_main                                            779     825     +46
update_local_clock                                   824     858     +34
packed_usage                                       26518   26540     +22
ntp_init                                             366     371      +5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 273/0)             Total: 273 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-06 12:27:47 +01:00
Denys Vlasenko
79ae534ac7 ifplugd: simplify run_script()
function                                             old     new   delta
packed_usage                                       26505   26518     +13
run_script                                           158     112     -46

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-06 12:27:18 +01:00
Matheus Izvekov
d0f601f066 find: add optional support for -links. +100 bytes
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-06 09:19:04 +01:00
Denys Vlasenko
074e8dcba7 ntpd: make -w less cumbersome to use
function                                             old     new   delta
packed_usage                                       26767   26779     +12
recv_and_process_peer_pkt                            808     817      +9

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-04 23:58:13 +01:00
Denys Vlasenko
4168fdd8e6 ntpd: add -w "watch" option, useful for debugging to look at our own data
Also fixed a small buglet discovered using -w

function                                             old     new   delta
recv_and_process_peer_pkt                            895     944     +49
select_and_cluster                                  1132    1150     +18
packed_usage                                       26769   26767      -2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-04 00:19:13 +01:00
Souf Oued
11a802a0fa lsusb: new applet. +400 bytes
Signed-off-by: Souf Oued <souf_oued@yahoo.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-07 01:37:34 +01:00
Souf Oued
982bc7176d lspci: new applet. +573 bytes
Signed-off-by: Souf Oued <souf_oued@yahoo.fr>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 17:56:25 +01:00
Denys Vlasenko
f92874e747 replace /bin/mdev with /sbin/mdev
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 15:59:05 +01:00
Denys Vlasenko
14b0f4feb3 trim usage text. -238 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-05 02:44:34 +01:00
Denys Vlasenko
907647fb15 ntpd: implement -x. shrink code a bit. -69 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-12-02 23:17:45 +01:00
Denys Vlasenko
b2e5fc35eb ntpd: and real handling for -N, show usage w/o options; trim text
function                                             old     new   delta
ntp_init                                             317     348     +31
bb_msg_you_must_be_root                                -      17     +17
xsocket                                               66      76     +10
changepath                                           195     194      -1
bb_msg_perm_denied_are_you_root                       35      34      -1
send_tree                                            355     353      -2
count_lines                                           74      72      -2
must_be_root                                          17       -     -17
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/4 up/down: 58/-23)             Total: 35 bytes
   text   data    bss    dec    hexfilename
 832873    441   7548 840862  cd49ebusybox_old
 832839    441   7548 840828  cd47cbusybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-25 14:52:47 +01:00
Denys Vlasenko
8d580c72f4 ntpd: add -q option. By Adam Tkac.
function                                             old     new   delta
settime                                              347     375     +28
packed_usage                                       26681   26693     +12
ntpd_main                                           3282    3251     -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 40/-31)              Total: 9 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-23 16:27:16 +01:00
Denys Vlasenko
74f8e7810b traceroute: fix help text to not show -6 when traceroute6 is off
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-23 06:34:04 +01:00
Leonid Lisovskiy
4c06531d5e traceroute6: new applet by Leonid Lisovskiy. +1562 bytes
Signed-off-by: Leonid Lisovskiy <lly.dev@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-23 06:20:09 +01:00
Adam Tkac
b1585064fd ntpd: new applet by Adam Tkac. +5k.
Signed-off-by: Adam Tkac <vonsch@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-22 03:43:55 +01:00
Stefan Seyfried
d095fd4d95 flashcp: new applet by Stefan Seyfried. +900 bytes
Signed-off-by: Stefan Seyfried <stefan.seyfried@googlemail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-21 18:32:19 +01:00
Denys Vlasenko
68c67469aa mkswap: add -L LABEL option. closes bug 689.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-03 05:51:20 +01:00
Vladimir Dronnikov
0d8ea64af6 mkfs.reiser: new applet. needs much polishing
Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-02 10:49:02 +01:00
Bernhard Reutner-Fischer
e039e689e3 wall: new applet
text	   data	    bss	    dec	    hex	filename
     81	      0	      0	     81	     51	miscutils/wall.o

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-27 17:34:36 +01:00
Denys Vlasenko
dac863a4cc sed: shrink usage text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-27 09:11:17 +01:00
Rob Landley
7b28415483 Minor usage tweak for sed.
Makes it slightly smaller and (in my opinion) clearer.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-27 09:07:08 +01:00
Denys Vlasenko
17c838bc6d patch: add longopts, --dry-run, add one more test
function                                             old     new   delta
patch_main                                          1110    1214    +104
static.patch_longopts                                  -      47     +47
packed_usage                                       26738   26761     +23
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 174/0)             Total: 174 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-24 17:11:55 +02:00
Vladimir Dronnikov
1dacfbb1f4 ftpget/put: make 3rd parameter optional
function                                             old     new   delta
packed_usage                                       26728   26738     +10
ftpgetput_main                                       343     351      +8

Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-23 23:34:43 +02:00
Denys Vlasenko
50be9631e1 date: line up tabs in usage text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-23 16:25:20 +02:00
Bernhard Reutner-Fischer
ca22cda709 date: handle long options
RFC2822 obsoletes RFC822; Silently accept --rfc-822 and return rfc2822
output for compatibility.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-10-23 16:07:37 +02:00
Denys Vlasenko
c1ab01b61b mke2fs: mention -F in usage text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22 12:24:48 +02:00
Denys Vlasenko
838e07aace trimming help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22 12:15:33 +02:00
Denys Vlasenko
149a32a19b mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir)
function                                             old     new   delta
mkfs_ext2_main                                      2385    2495    +110
packed_usage                                       26400   26447     +47
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 157/0)             Total: 157 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22 12:12:17 +02:00
Denys Vlasenko
3945bc1534 tune2fs: new applet by Vladimir. Only supports -L LABEL
function                                             old     new   delta
tune2fs_main                                           -     165    +165
packed_usage                                       26692   26702     +10
applet_names                                        2148    2156      +8
applet_main                                         1264    1268      +4
applet_nameofs                                       632     634      +2
applet_install_loc                                   158     159      +1
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/0 up/down: 190/0)             Total: 190 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-22 00:55:55 +02:00
Denys Vlasenko
f9d3a91a89 mkfs_ext2: fixes for huge filesystems
function                                             old     new   delta
mkfs_ext2_main                                      2145    2617    +472
div_roundup                                           15      35     +20
packed_usage                                       26792   26776     -16

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-18 18:05:27 +02:00
Denys Vlasenko
77da1cae94 mkfs_ext2: make it able to create images larger than 4G
function                                             old     new   delta
mkfs_ext2_main                                      1904    2145    +241
has_super                                             29      23      -6
PUT                                                   52      40     -12
packed_usage                                       26807   26792     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 241/-33)           Total: 208 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-18 16:29:30 +02:00
Denys Vlasenko
6a8cfdca99 trim usage text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17 23:41:15 +02:00
Vladimir Dronnikov
823b4e6f26 mkfs_ext2: new applet by Vladimir
function                                             old     new   delta
mkfs_ext2_main                                         -    2011   +2011
static.supers                                          -     184    +184
allocate                                               -     118    +118
packed_usage                                       26692   26791     +99
PUT                                                    -      52     +52
has_super                                              -      28     +28
applet_names                                        2143    2160     +17
applet_main                                         1264    1272      +8
applet_nameofs                                       632     636      +4
applet_install_loc                                   158     159      +1
------------------------------------------------------------------------------
(add/remove: 5/0 grow/shrink: 5/0 up/down: 2522/0)           Total: 2522 bytes

Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-17 21:38:19 +02:00
Denys Vlasenko
f26e98f4e9 udhcpc: more help text tweaking
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-10 16:14:41 +02:00
Denys Vlasenko
84e1caf51c udhcpc: better wording in help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-10 16:13:17 +02:00
Denys Vlasenko
8d680b5114 Trim help text a bit more
function                                             old     new   delta
packed_usage                                       26625   26529     -96

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-06 21:23:02 +02:00
Denys Vlasenko
07697859ae Trim usage text a bit
function                                             old     new   delta
packed_usage                                       26646   26625     -21

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-06 21:11:37 +02:00
Vladimir Dronnikov
b618dba103 sendmail: accept -i too, not only -oi
Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-04 01:34:54 +02:00
Denys Vlasenko
26ff18b424 Fixes to usage text; updated busybox.spec
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-10-02 11:37:17 +02:00
Denys Vlasenko
532609e36e ps: document -T option
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-20 20:29:25 +02:00
Denys Vlasenko
ae357bd713 top, ps: do not output trailing spaces
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-11 23:29:45 +02:00
Denys Vlasenko
0052882200 top: add -m ("memory") option
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-11 23:26:42 +02:00
Denys Vlasenko
0c6914e50c modprobe-small: make string buffer code robust; fix help text
together with previous one-liner:

function                                             old     new   delta
append                                                70      99     +29
parse_module                                         295     311     +16
copy_stringbuf                                        35      36      +1
packed_usage                                       26545   26540      -5
appendc                                               27       -     -27
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 3/1 up/down: 46/-32)             Total: 14 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-07 02:38:26 +02:00
Denys Vlasenko
5370bfb123 documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-06 02:58:59 +02:00
Denys Vlasenko
ed1667e8ee telnetd: add -w ("inetd wait") option. Can be configured off.
gcc fils to fully optimize it out when it's off:

function                                             old     new   delta
telnetd_main                                        1527    1548     +21
packed_usage                                       26596   26587      -9

but nevertheless it's a useful (and so far single) example
how to write "inetd wait" tcp service.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-09-04 02:21:13 +02:00
Denys Vlasenko
33d7b72d33 more help text tweaking
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-27 20:47:35 +02:00
Denys Vlasenko
691161a7a7 trim help texts a bit
function                                             old     new   delta
packed_usage                                       26709   26634     -75

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-27 20:38:17 +02:00
Denys Vlasenko
ca899efd6c remove a few extra newlines in help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-27 03:20:45 +02:00
Bernhard Reutner-Fischer
45de0746b3 add simple beep applet
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-08-21 13:18:31 +02:00
Denys Vlasenko
1cc4b13917 msh: aliased to hush
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-08-21 00:05:51 +02:00