Denys Vlasenko
bf2af9acb2
flash_lock, flash_unlock: new applets
...
By Thierry Reding (thierry.reding AT avionic-design.de)
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-25 04:15:37 +02:00
Denys Vlasenko
5e61115ea4
scriptreplay: new applet. +423 bytes
...
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-05-19 17:36:16 +02:00
Denis Vlasenko
052ad9a568
lzop: new applet. Busyboxed by Alain Knaff. +7700 bytes.
2009-04-29 12:01:51 +00:00
Denis Vlasenko
71c165780a
ifplugd: new applet by Maksym Kryzhanovskyy (xmaks AT email.cz)
...
+3k code and 0.5k in messages. Most of the bloat due to compat :(
2009-04-26 01:08:51 +00:00
Denis Vlasenko
c2931aa2df
adduser/addgroup: support specifying uid/gid, add system
...
account creation mode. By Tito.
function old new delta
adduser_main 650 726 +76
addgroup_main 341 402 +61
addgroup_longopts - 16 +16
adduser_longopts 97 103 +6
packed_usage 26161 26163 +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 161/0) Total: 161 bytes
2009-04-22 21:35:52 +00:00
Denis Vlasenko
b029154a2a
httpd: improve help text
2009-04-22 00:26:39 +00:00
Denis Vlasenko
f9d4fc3cf8
switch_root: improve behavior on error; improve help text
...
*: make "can't execute '%s'" message uniform
2009-04-21 20:40:51 +00:00
Denis Vlasenko
5e34ff29bc
*: mass renaming of USE_XXXX to IF_XXXX
...
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
2009-04-21 11:09:40 +00:00
Denis Vlasenko
f2b39e088d
mdev: add support for - "dont stop here" char
...
function old new delta
make_device 1340 1362 +22
packed_usage 26291 26299 +8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 30/0) Total: 30 bytes
2009-04-13 23:18:52 +00:00
Denis Vlasenko
aafbae6181
mdev: make usage text more useful
...
function old new delta
packed_usage 26235 26291 +56
2009-04-13 13:33:02 +00:00
Denis Vlasenko
e8a796828e
dhcprelay: fix usage text. Simplify and make code more readable.
...
Add TODOs.
2009-04-13 03:33:46 +00:00
Denis Vlasenko
f81e8dbc74
*: make "pragma GCC visibility push(hidden)" less ugly
2009-04-09 12:35:13 +00:00
Denis Vlasenko
88b8f0a347
sendmail: update by Vladimir
...
build system: tweak for rare case where include/autoconf.h
does not get updated
function old new delta
packed_usage 26238 26242 +4
sendmail_main 1353 897 -456
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-456) Total: -452 bytes
2009-03-31 23:41:53 +00:00
Denis Vlasenko
a6eb7f4ddf
sendmail: add more example in usage text
2009-03-29 16:53:25 +00:00
Denis Vlasenko
9d04b6b630
mkdosfs (aka mkfs.vfat): new applet by Vladimir
...
text data bss dec hex filename
821202 476 7616 829294 ca76e busybox_old
823577 476 7616 831669 cb0b5 busybox_unstripped
2009-03-28 02:13:01 +00:00
Denis Vlasenko
83518d18a3
Compatibility fixes:
...
grep: support -z
find: support --mindepth
together +45 bytes
cpio: support -p (configurable, +230 bytes)
libbb: tweaks for cpio
2009-03-20 22:17:13 +00:00
Denis Vlasenko
20c8216897
ftpd: add idle and absolute timeouts. This is a security issue,
...
otherwise ftpd may end up hanging indefinitely.
function old new delta
timeout_handler - 110 +110
ftpd_main 2019 2115 +96
packed_usage 25662 25685 +23
handle_upload_common 306 322 +16
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 245/0) Total: 245 bytes
2009-03-16 16:19:53 +00:00
Denis Vlasenko
7aaedcf21e
mount: support "-O option"; stop trying to mount swap partitions
...
function old new delta
mount_main 975 1152 +177
umount_main 640 636 -4
packed_usage 25666 25662 -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 177/-8) Total: 169 bytes
2009-03-14 22:57:20 +00:00
Denis Vlasenko
4221e90ae4
ftpd: stop unconditional logging to syslog. This was the only applet
...
which was doing it. Added option -S to enable it when desired.
function old new delta
packed_usage 25647 25666 +19
ftpd_main 1826 1825 -1
2009-03-11 15:07:44 +00:00
Denis Vlasenko
9257671c76
fix typo in help text
2009-03-09 16:25:33 +00:00
Denis Vlasenko
5e4fda0aff
ftpd: code chrink, fixed some minor bugs
...
ls: update comment
*: openlog fixes (added LOG_PID, set LOG_DAEMON as appropriate)
function old new delta
xwrite_str - 26 +26
cmdio_write_ok - 15 +15
handle_cwd 40 45 +5
packed_usage 25668 25670 +2
cmdio_write_raw 7 9 +2
handle_upload_common 322 320 -2
udhcpd_main 1375 1372 -3
udhcpc_main 2362 2359 -3
port_cleanup 27 23 -4
handle_dir_common 221 209 -12
str_netfd_write 26 - -26
cmdio_get_cmd_and_arg 122 - -122
ftpd_main 2208 2050 -158
------------------------------------------------------------------------------
text data bss dec hex filename
809933 476 7864 818273 c7c61 busybox_old
809199 476 7864 817539 c7983 busybox_unstripped
2009-03-08 23:46:48 +00:00
Denis Vlasenko
16b4a2de97
ftpd: new applet by Adam Tkac
...
$ size ftpd.o
text data bss dec hex filename
5703 0 0 5703 1647 ftpd.o
2009-03-08 09:30:56 +00:00
Denis Vlasenko
021de3f029
sendmail: document and fix usage of fd #4 , fix check for helper failure.
...
function old new delta
packed_usage 25663 25694 +31
signal_handler 191 215 +24
kill_helper 22 31 +9
launch_helper 194 184 -10
get_cred_or_die 142 129 -13
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/2 up/down: 64/-23) Total: 41 bytes
2009-03-04 17:56:00 +00:00
Denis Vlasenko
7e0c243ad5
sendmail: improve help text
2009-03-02 16:12:00 +00:00
Bernhard Reutner-Fischer
12aca796ba
- improve wording
2009-02-24 10:03:22 +00:00
Bernhard Reutner-Fischer
0d22d1755c
- add flash_eraseall
...
This is the result after converting mtd-utils' flash_eraseall to BB.
The functionality given by this patch almost the same except that this
one does not support long options.
I needed this tool a system which does not have a lot of flash for RFS
and merging this into BB as the only way out.
[bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl
function old new delta
flash_eraseall_main - 1072 +1072
show_progress - 62 +62
packed_usage 25156 25176 +20
applet_names 1958 1973 +15
applet_main 2352 2360 +8
target_endian - 4 +4
applet_nameofs 588 590 +2
applet_install_loc 147 148 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0) Total: 1184 bytes
[bigeasy@]$ size miscutils/flash_eraseall.o
text data bss dec hex filename
1586 4 0 1590 636 miscutils/flash_eraseall.o
Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2009-02-18 13:23:46 +00:00
Denis Vlasenko
a0ab943492
function old new delta
...
kill_main 706 884 +178
2009-02-07 22:30:39 +00:00
Denis Vlasenko
6d5590f9d0
sendmail: remove erroneous usage lines
2009-02-04 00:01:07 +00:00
Denis Vlasenko
4acdb46ff1
ionice: new applet, adapted from Linux kernel' example by Walter Harms
...
text data bss dec hex filename
1050316 924 10952 1062192 103530 busybox_old
1050758 924 10952 1062634 1036ea busybox_unstripped
2009-01-31 21:45:57 +00:00
Denis Vlasenko
39b681343b
tunctl: new applet by Vladimir
...
function old new delta
tunctl_main - 371 +371
packed_usage 25669 25799 +130
applet_names 1981 1988 +7
applet_main 1192 1196 +4
applet_nameofs 596 598 +2
applet_install_loc 149 150 +1
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/0 up/down: 515/0) Total: 515 bytes
2009-01-23 02:07:14 +00:00
Denis Vlasenko
73ac056f50
s/an user/a user/
2008-12-25 01:01:23 +00:00
Denis Vlasenko
e45930e890
Fold mkpasswd applet into cryptpw.
...
mkpasswd is in Debian, OTOH cryptpw was added to busybox earlier.
Trying to make both camps happy by making those two applets just aliases.
They are command-line compatible. We can decide whether we want to drop one
(and which one) later.
function old new delta
cryptpw_main 183 314 +131
static.methods 21 - -21
packed_usage 25707 25648 -59
mkpasswd_main 307 - -307
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 1/1 up/down: 131/-387) Total: -256 bytes
2008-12-04 12:05:26 +00:00
Bernhard Reutner-Fischer
ac1c96f673
- remove superfluous comment from previous commit
2008-12-03 18:49:44 +00:00
Bernhard Reutner-Fischer
82b1429966
- add new applet mkpasswd(1)
...
function old new delta
bb_ask - 355 +355
mkpasswd_main - 296 +296
.rodata 121746 121847 +101
packed_usage 24632 24689 +57
static.methods - 21 +21
gmatch 229 248 +19
bb_ask_stdin - 11 +11
applet_names 1949 1958 +9
applet_main 1172 1176 +4
sulogin_main 503 505 +2
applet_nameofs 586 588 +2
sha256_hash 329 327 -2
correct_password 208 206 -2
parse_command 1442 1439 -3
get_cred_or_die 145 141 -4
passwd_main 1054 1044 -10
bb_askpass 348 - -348
------------------------------------------------------------------------------
(add/remove: 4/1 grow/shrink: 7/5 up/down: 877/-369) Total: 508 bytes
2008-12-03 18:48:39 +00:00
Denis Vlasenko
7a1ddf20f3
mountpoint: add -n option (by Vladimir)
...
text data bss dec hex filename
799859 560 7748 808167 c54e7 busybox_old
799845 560 7748 808153 c54d9 busybox_unstripped
2008-11-29 12:54:16 +00:00
Denis Vlasenko
d16950ded9
acpid: new applet by Vladimir. +737 bytes
2008-11-29 09:05:50 +00:00
Denis Vlasenko
4240408b70
trim help text a bit
2008-11-24 13:42:24 +00:00
Denis Vlasenko
a9acbe6cad
timeout: new applet. 370 bytes. by Roberto Foglietta.
2008-11-24 13:25:20 +00:00
Denis Vlasenko
36309cf3f4
insmod: clarify module_name / file_name distinction
2008-11-22 18:29:01 +00:00
Denis Vlasenko
9a4c0d59a7
inotifyd: exit if x event happened for all files
...
fix FIONREAD parameter type
fix default mask code
shrink help text
function old new delta
inotifyd_main 497 506 +9
packed_usage 25446 25431 -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 9/-15) Total: -6 bytes
2008-11-20 01:24:39 +00:00
Denis Vlasenko
a09a42cd83
inotify: add x, o, and u events
2008-11-17 22:19:18 +00:00
Denis Vlasenko
2479cd4a5d
inotifyd: fix "inotifyd with no params" case
2008-11-14 22:14:12 +00:00
Denis Vlasenko
289ff0e341
inotify: document waiting behavior
2008-11-14 21:52:16 +00:00
Denis Vlasenko
4d47692fb8
arp: stop using globals
...
function old new delta
hw_set 1 - -1
arp_main 1559 1558 -1
sockfd 8 4 -4
hw 4 - -4
device 4 - -4
ap 4 - -4
packed_usage 25402 25393 -9
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 0/3 up/down: 0/-27) Total: -27 bytes
2008-11-13 00:05:17 +00:00
Denis Vlasenko
cf3e05bbdb
correct help texts
2008-11-12 21:18:58 +00:00
Bernhard Reutner-Fischer
c021cb08b5
- add support for seq -s <separator>
2008-11-12 13:22:24 +00:00
Bernhard Reutner-Fischer
2598f761bb
- add seq -w support (Natanael Copa)
2008-11-12 12:59:56 +00:00
Denis Vlasenko
2211d5268c
libbb: add optionl support for SHA256/512 encrypted passwords
...
function old new delta
sha_crypt - 2423 +2423
cryptpw_main 128 183 +55
to64 - 29 +29
pw_encrypt 974 1000 +26
str_rounds - 11 +11
login_main 1532 1541 +9
packed_usage 25215 25200 -15
__md5_to64 29 - -29
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 3/1 up/down: 2553/-44) Total: 2509 bytes
2008-11-10 18:52:35 +00:00
Denis Vlasenko
56dceb9b77
sha256,sha512: new applets. +4.9kb
...
we will require sha256/512 code for new $5$ and $6$ style
password hashes anyway, they are showing up already
in people's /etc/passwd...
2008-11-10 13:32:50 +00:00
Denis Vlasenko
c028ec280a
Typo fixes
2008-11-10 10:47:47 +00:00
Denis Vlasenko
dc70069a46
kbd_mode: support -C TTY option
...
function old new delta
packed_usage 25334 25361 +27
kbd_mode_main 146 173 +27
2008-11-08 21:39:06 +00:00
Denis Vlasenko
b9d572a273
total overhaul of mail applets. again. Vladimir as usual.
2008-11-06 23:41:38 +00:00
Denis Vlasenko
35a064b67f
build system: tidying up CONFIG_xxx names (suggested by Rob)
2008-11-06 00:49:59 +00:00
Denis Vlasenko
b9b344aa44
kill[all[5]]: accept -s SIG too. kill_main: +29 bytes
...
by Steve Bennett (steveb AT workware.net.au)
2008-10-31 00:30:48 +00:00
Denis Vlasenko
91f8f82bfb
tftpd: be less cryptic in help text
2008-10-30 23:42:37 +00:00
Denis Vlasenko
de5f645dff
ls: trim help text
2008-10-27 12:37:22 +00:00
Denis Vlasenko
c94fa5651a
devmem: new applet
2008-10-26 11:08:14 +00:00
Denis Vlasenko
1e19afd38a
blkid: new applet. We almost had everything needed for it already
...
function old new delta
display_uuid_cache - 89 +89
blkid_main - 8 +8
applet_names 1871 1877 +6
applet_main 1140 1144 +4
applet_nameofs 570 572 +2
packed_usage 24737 24735 -2
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 109/-2) Total: 107 bytes
2008-10-12 11:20:08 +00:00
Denis Vlasenko
cdd1f732bc
zcip: code size optimizations, improved help text and comments
...
function old new delta
packed_usage 24750 24787 +37
run 658 655 -3
pick 40 34 -6
arp 186 177 -9
zcip_main 1402 1356 -46
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/4 up/down: 37/-64) Total: -27 bytes
2008-10-10 11:28:39 +00:00
Bernhard Reutner-Fischer
578de8644c
- route metric support (Natanael Copa)
...
Adds about 75b
2008-10-07 17:00:58 +00:00
Denis Vlasenko
2b2d977057
sendmail: update by Vladimir
2008-09-28 13:50:57 +00:00
Denis Vlasenko
bed22a01fb
sendmail: compat update by Vladimir
...
function old new delta
sendgetmail_main 1889 2091 +202
putchar_unlocked - 43 +43
putchar - 43 +43
packed_usage 24868 24910 +42
smtp_checkp 102 111 +9
uuencode 235 227 -8
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 339/-8) Total: 331 bytes
2008-09-27 14:01:22 +00:00
Bernhard Reutner-Fischer
1a89133caf
Markus Heidelberg writes:
...
* document --nicelevel in Config.in
* usage: --verbose is the fancy option, not --quiet
2008-09-26 15:14:56 +00:00
Bernhard Reutner-Fischer
48a6773b3a
- add less -I to be able to search case-insensitively
...
+17b, but the helptext is quite elaborate, thus:
function old new delta
.rodata 118995 119032 +37
packed_usage 24731 24767 +36
regex_process 284 300 +16
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 89/0) Total: 89 bytes
2008-09-26 14:10:17 +00:00
Denis Vlasenko
b46d5f9a93
fix usage text - s/USE_GETOPT_LONG/USE_FEATURE_xxxLONG_OPTIONS/
...
by Markus Heidelberg (markus.heidelberg AT web.de)
2008-09-25 21:06:24 +00:00
Denis Vlasenko
42cc6bab16
top: don't lie in help screen about "-d 1" being valid
2008-09-25 11:17:10 +00:00
Denis Vlasenko
53f219ebbe
setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir)
...
build system: fixlet for echo applet config
function old new delta
setfont_main 157 387 +230
ctoi - 75 +75
packed_usage 24921 24950 +29
2008-09-16 19:35:42 +00:00
Denis Vlasenko
ba1315d0fb
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
2008-09-13 14:59:38 +00:00
Denis Vlasenko
4f3209b9d4
id: code shrink
...
function old new delta
id_main 494 462 -32
2008-09-13 12:51:10 +00:00
Bernhard Reutner-Fischer
0ee1cb0084
- implement id -G (Tito Ragusa)
2008-09-12 09:58:11 +00:00
Denis Vlasenko
8d89bed840
watchdog: add -T option
...
function old new delta
watchdog_main 159 219 +60
mdev: support match by major,minor. See bug 4714.
+100 bytes.
2008-09-07 23:22:08 +00:00
Bernhard Reutner-Fischer
0901c51518
- add WIP stub for tc.
...
Printing worked at some point. Modify/Delete needs some refacturing.
2008-09-04 13:22:58 +00:00
Bernhard Reutner-Fischer
161931efa5
- mention that we ignore -v, -b, -c
2008-09-04 09:33:23 +00:00
Denis Vlasenko
d4b719878f
kbd_mode: fix non-ASCII letters in comments
...
install: support -D
2008-09-03 21:54:46 +00:00
Bernhard Reutner-Fischer
d93179fd5b
- halt's -w depends on FEATURE_WTMP (Vladimir Dronnikov)
2008-09-01 15:24:52 +00:00
Denis Vlasenko
d66aa3c701
df: add support for more options, add some coreutils 6.10 compat.
...
by Bernhard Reutner-Fischer
function old new delta
df_main 664 795 +131
packed_usage 24812 24862 +50
make_human_readable_str 213 262 +49
static.ignored_mounts - 8 +8
static.unit_chars - 7 +7
static.zero_and_units 6 - -6
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 3/0 up/down: 245/-6) Total: 239 bytes
2008-08-28 22:42:52 +00:00
Bernhard Reutner-Fischer
99ecc46d93
- document rmdir args
2008-08-21 20:52:55 +00:00
Bernhard Reutner-Fischer
6375853cd8
- document rmmod -w and -f arguments
2008-08-21 20:18:55 +00:00
Denis Vlasenko
e82da4dfee
fix xargs -e help text
2008-08-21 19:59:30 +00:00
Bernhard Reutner-Fischer
c77e843c09
- add new applet rdev (Grant Erickson)
...
- fixes and shrink (me)
2008-08-19 11:28:52 +00:00
Denis Vlasenko
d7cc2e601d
showkey: new applet by Vladimir
2008-08-17 14:17:48 +00:00
Denis Vlasenko
c8d02aa959
setfont: new applet by Vladimir
2008-08-17 14:12:26 +00:00
Bernhard Reutner-Fischer
fb5902ca5c
- support relatime / norelatime
2008-08-06 18:14:38 +00:00
Denis Vlasenko
e9ad84dfd4
*: refactor handling of archived files. "tar f file.tar.lzma" now works too.
...
function old new delta
unpack_Z_stream - 1229 +1229
open_zipped - 176 +176
unpack_bz2_stream_prime - 60 +60
tar_main 642 677 +35
find_main 406 418 +12
sv_main 1222 1233 +11
decode_format_string 829 837 +8
cmp_main 641 649 +8
popstring 134 140 +6
filter_accept_list_reassign 120 125 +5
parse_and_put_prompt 800 804 +4
passwd_main 1053 1049 -4
make_new_name_gunzip 119 114 -5
rpm_main 1688 1670 -18
prepare 302 283 -19
xmalloc_open_zipped_read_close 135 61 -74
uncompress 1229 - -1229
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 8/5 up/down: 1554/-1349) Total: 205 bytes
2008-08-05 13:10:34 +00:00
Bernhard Reutner-Fischer
9b44613202
- don't free user-supplied string (via -e)
...
- fix helptext
function old new delta
chpasswd_main 300 319 +19
packed_usage 24352 24344 -8
.rodata 122227 122195 -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 19/-40) Total: -21 bytes
2008-08-05 09:56:56 +00:00
Denis Vlasenko
7ce47e698e
ssd: fix -K/-S mixup in help text
2008-08-03 19:23:30 +00:00
Denis Vlasenko
c45b53940a
xargs: update help text
2008-08-03 19:20:25 +00:00
Denis Vlasenko
9ef1a5ddc1
makedevs: fix help text discrepancies
2008-08-01 02:15:51 +00:00
Denis Vlasenko
b357149867
chpst: large code shrink by Vladimir
...
function old new delta
chpst_main 1058 1357 +299
euidgid 56 - -56
suidgid 59 - -59
slimit 208 - -208
packed_usage 24638 24420 -218
edir 375 - -375
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 1/1 up/down: 299/-916) Total: -617 bytes
2008-07-30 21:23:26 +00:00
Denis Vlasenko
6e69e4237d
netstat: optional -p support by L. Gabriel Somlo <somlo AT cmu.edu>
...
Without FEATURE_NETSTAT_PRG:
function old new delta
recursive_action 416 425 +9
tcp_do_one 420 428 +8
udp_do_one 492 499 +7
raw_do_one 472 479 +7
expand 1697 1701 +4
netstat_main 489 492 +3
unix_do_one 486 488 +2
flags 1 - -1
qgravechar 109 106 -3
net_conn_line 4 - -4
bbunpack 391 383 -8
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 7/2 up/down: 40/-16) Total: 24 bytes
With FEATURE_NETSTAT_PRG:
file_act - 213 +213
dir_act - 192 +192
netstat_main 489 601 +112
prg_cache_get - 50 +50
tcp_do_one 420 462 +42
udp_do_one 492 533 +41
raw_do_one 472 513 +41
unix_do_one 486 519 +33
recursive_action 416 425 +9
expand 1697 1701 +4
flags 1 - -1
qgravechar 109 106 -3
net_conn_line 4 - -4
bbunpack 391 383 -8
packed_usage 24586 24572 -14
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 7/3 up/down: 737/-30) Total: 707 bytes
2008-07-27 12:10:07 +00:00
Denis Vlasenko
49a5eba9ae
s/othervise/otherwise/g
2008-07-23 08:41:08 +00:00
Denis Vlasenko
040e32f84c
lpd: extend help text
...
function old new delta
packed_usage 24466 24612 +146
2008-07-23 08:39:19 +00:00
Bernhard Reutner-Fischer
e1e5174942
- s/super.block/superblock/g; # for consistency; -1b
2008-07-21 13:33:22 +00:00
Denis Vlasenko
1101d1c980
telnet: shrink
...
telnetd: shrink, and fix issue file printing
test: better and shorter usage text
function old new delta
putiac2 51 50 -1
putiac 24 20 -4
handlenetoutput 95 91 -4
telnet_main 1480 1475 -5
iacflush 37 32 -5
make_new_session 436 421 -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-34) Total: -34 bytes
2008-07-21 09:22:28 +00:00
Denis Vlasenko
84c8daa11f
help text: test --help doesnt print it (by design),
...
so do not account for it
2008-07-21 08:37:13 +00:00
Denis Vlasenko
2e157ddf9e
libbb: updated config_parse() from Vladimir
...
function old new delta
config_read 385 460 +75
runsvdir_main 1701 1716 +15
readit 331 338 +7
passwd_main 1049 1053 +4
parse_command 1504 1507 +3
decode_format_string 822 824 +2
bb__parsespent 117 119 +2
udhcp_get_option 221 222 +1
changepath 196 194 -2
parse_inittab 400 396 -4
nameif_main 683 679 -4
make_device 1176 1172 -4
config_open 48 40 -8
expand_main 698 689 -9
readcmd 1012 1002 -10
config_free_data 37 21 -16
SynchronizeFile 683 643 -40
sleep_main 474 362 -112
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 8/10 up/down: 109/-209) Total: -100 bytes
2008-07-19 09:27:19 +00:00
Denis Vlasenko
7987a1844b
ssd: do not stat -x EXECUTABLE, it is not needed anymore
...
ssd: use PATH
ssd: fix -a without -x case
ssd: fix help text
ssd: CLOSE_EXTRA_FDS in MMU case too
ssd: add testsuite
2008-07-01 10:00:46 +00:00
Denis Vlasenko
6ea75e2f5d
sendmail: another update from the maintainer
...
function old new delta
sendgetmail_main 1894 1937 +43
crond_main 1416 1423 +7
packed_usage 24540 24470 -70
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 50/-70) Total: -20 bytes
2008-06-28 21:46:41 +00:00
Denis Vlasenko
3dee8e2bac
sendmail: update from maintainer
2008-06-27 21:24:08 +00:00
Denis Vlasenko
a80d0e4bf7
trim usage text
2008-06-22 20:14:00 +00:00
Denis Vlasenko
21765fa063
udhcpc: kill undocumented -W, it was a no-op.
...
fix option parsing in the case some CONFIG_x are off.
disable -b on NOMMU, make backgrounding work correctly
(if a bit differently from MMU case). Previously,
it wasn't working at all.
stop using global data for flags in main(), opt
bitfield works as well.
function old new delta
cryptpw_main 177 153 -24
packed_usage 24478 24452 -26
client_background 26 - -26
udhcpc_main 2462 2372 -90
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-166) Total: -166 bytes
2008-06-13 20:44:05 +00:00
Denis Vlasenko
f2cccbce37
mktemp: make default tempfile template shorter;
...
make help text more understandable
2008-06-08 20:40:33 +00:00
Denis Vlasenko
7bdf0c82da
klogd: make help text more understandable
...
klogd: by using a register instead of global variable, shrink code a bit
function old new delta
klogd_main 372 362 -10
packed_usage 24504 24486 -18
text data bss dec hex filename
808464 642 7180 816286 c749e busybox_old
808422 642 7180 816244 c7474 busybox_unstripped
2008-06-06 16:08:04 +00:00
Denis Vlasenko
c05b1684a0
mktemp: make argument optional (coreutil 6.12 compat)
...
function old new delta
mktemp_main 157 174 +17
packed_usage 24508 24504 -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 17/-4) Total: 13 bytes
2008-06-05 12:06:00 +00:00
Mike Frysinger
1e93f3c585
change default rtcwake mode to match changed behavior in upstream util-linux
2008-06-04 10:33:33 +00:00
Mike Frysinger
85571d8d01
make the help for rtcwake reflect the actual default behavior
2008-06-02 20:37:45 +00:00
Bernhard Reutner-Fischer
55fb9da5b8
- remove duplicate helptext of dhcprelay and improve it
2008-05-27 12:42:39 +00:00
Bernhard Reutner-Fischer
55e547eb6f
- 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
2008-05-26 12:01:49 +00:00
Denis Vlasenko
8e2c9e1518
inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>
...
function old new delta
inotifyd_main - 453 +453
packed_usage 24246 24450 +204
inotify_add_watch - 47 +47
inotify_init - 29 +29
mask_names - 13 +13
signal_handler 130 140 +10
applet_names 1859 1868 +9
applet_main 1132 1136 +4
applet_nameofs 566 568 +2
signalled 1 2 +1
2008-05-24 20:47:18 +00:00
Denis Vlasenko
b22a8059cb
last: trim help text
2008-05-22 02:10:50 +00:00
Denis Vlasenko
869d3d318f
last: optional alternative sysv-like implementation
...
(by Patricia Muscalu <patricia.muscalu AT axis.com>)
function old new delta
last_main 448 917 +469
show_entry - 319 +319
packed_usage 24216 24268 +52
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 840/0) Total: 840 bytes
2008-05-22 02:07:58 +00:00
Bernhard Reutner-Fischer
ae4342ca3e
- Rename getpty() to xgetpty() and adjust callers.
...
- Rewrite kbd_mode and setconsole
- Introduce and use console_make_active() and xopen_xwrite_close()
- honour buffer-reservation method as set by the user (dumpkmap, loadkmap)
- shrink rtcwake and some console-tools
Saves about 270 Bytes
2008-05-19 08:18:50 +00:00
Denis Vlasenko
ee56e013cf
swapon: optional -p PRIO support (by Francois Barel <frabar666 AT gmail.com>)
...
function old new delta
swap_on_off_main 153 216 +63
packed_usage 24190 24214 +24
swap_enable_disable 127 131 +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 91/0) Total: 91 bytes
2008-05-18 23:05:34 +00:00
Denis Vlasenko
e125a683a7
start_stop_daemon: add -test, fix -x to not match by inode,
...
vastly improve hext text. (mostly by Roy Marples <roy AT marples.name>)
function old new delta
packed_usage 24124 24190 +66
start_stop_daemon_main 959 991 +32
start_stop_daemon_longopts 149 156 +7
check 1632 1589 -43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/1 up/down: 105/-43) Total: 62 bytes
2008-05-18 21:17:52 +00:00
Bernhard Reutner-Fischer
f3b778a4dc
- fix bug where we incorrectly rejected ifconfig eth0 hw ether $whatever
...
- add support for printing ipoib to ifconfig
2008-05-16 16:10:31 +00:00
Bernhard Reutner-Fischer
6253880450
- fix selinux stuff
2008-05-08 12:21:44 +00:00
Bernhard Reutner-Fischer
6e38d52120
- correct usage helptext of ifupdown
2008-05-08 10:40:34 +00:00
Denis Vlasenko
96b99b860c
uniq: support -w. closes bug 3094.
...
function old new delta
packed_usage 24136 24132 -4
uniq_main 399 384 -15
2008-05-03 07:21:27 +00:00
Denis Vlasenko
4d89a8bd1d
date: make it accept ISO date format. Fix help text.
...
make testsuite actually test something useful.
function old new delta
date_main 1094 1149 +55
2008-04-25 02:14:07 +00:00
Denis Vlasenko
1f228985b2
whitespace fixes. no code changes
2008-04-22 00:16:29 +00:00
Denis Vlasenko
e96dcb4dcf
top: fix build failure
2008-04-17 18:04:38 +00:00
Denis Vlasenko
4f98e19382
make test, [ and [[ all NOFORK, for consistency.
...
Revamp handling of NOUSAGE applets.
function old new delta
packed_usage 24122 24104 -18
2008-04-13 22:12:19 +00:00
Denis Vlasenko
ffa4499c9f
man: new applet. ~600 bytes.
2008-04-13 08:20:00 +00:00
Denis Vlasenko
643dcf00e3
dd: update usage text
2008-04-07 21:11:23 +00:00
Denis Vlasenko
90c31b3d4b
ping: add -w, -W support (James Simmons <jsimmons AT infradead.org>)
...
function old new delta
print_stats_and_exit - 282 +282
sendping_tail 151 231 +80
packed_usage 23976 24054 +78
ping_main 401 412 +11
arm_ioctl 13 20 +7
pingstats 259 - -259
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 4/0 up/down: 458/-259) Total: 199 bytes
2008-04-07 00:46:29 +00:00
Denis Vlasenko
278a1c2264
brctl: optional support for "show" cmd (by L. Gabriel Somlo <somlo AT cmu.edu>)
...
function old new delta
brctl_main 739 1186 +447
if_indextoname - 104 +104
static.keywords 827 841 +14
static.ops - 7 +7
packed_usage 23978 23976 -2
2008-04-06 07:17:02 +00:00
Denis Vlasenko
261f237024
cpio: optional support for writing cpio files in newc format.
...
by pascal.bellard AT ads-lu.com.
function old new delta
cpio_main 247 1122 +875
cpio_pad4 - 58 +58
gnu_dev_major 66 99 +33
gnu_dev_minor 38 57 +19
packed_usage 23964 23978 +14
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 999/0) Total: 999 bytes
2008-04-05 00:07:46 +00:00
Denis Vlasenko
2e4c3c4cc3
udhcpc: add -o "do not request options by default" switch
...
(by L. Gabriel Somlo <somlo AT cmu.edu>)
function old new delta
udhcpc_main 2513 2554 +41
static.udhcpc_longopts 226 247 +21
add_param_req_option 119 132 +13
packed_usage 23952 23964 +12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 87/0) Total: 87 bytes
2008-04-02 13:04:19 +00:00
Denis Vlasenko
95891fc016
openvt: fix gross mismatch between us and "standard" openvt.
...
standard one even has different syntax!
std: "openvt -c 12", we: "openvt 12"
std: "openvt top", we: complain that "top" is not a number.
openvt: implement -c -w -s (-l -f -v are also accepted but ingnored)
openvt_main 188 343 +155
vfork_child - 67 +67
not_vt_fd - 23 +23
packed_usage 23932 23952 +20
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 2/0 up/down: 265/0) Total: 265 bytes
text data bss dec hex filename
801344 641 7380 809365 c5995 busybox_old
801617 641 7380 809638 c5aa6 busybox_unstripped
2008-03-27 16:26:35 +00:00
Denis Vlasenko
72b3442aeb
fbsplash: support this usage:
...
mkfifo cmd_pipe
fbsplash -f cmd_pipe .... &
...
echo 33 >cmd_pipe
...
echo 66 >cmd_pipe
Code size: fbsplash_main +116 bytes :(
2008-03-27 13:14:29 +00:00
Denis Vlasenko
8ee649a02e
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
2008-03-26 20:04:27 +00:00
Denis Vlasenko
c6dbb85c9e
fbsplash: shrink, better help text; inifile cannot specify image now;
...
image can come from stdin
function old new delta
packed_usage 23872 23932 +60
static.param_names - 57 +57
fbsplash_main 1525 1472 -53
static.param_value 100 - -100
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/1 up/down: 117/-153) Total: -36 bytes
text data bss dec hex filename
801202 641 7380 809223 c5907 busybox_old
801181 641 7380 809202 c58f2 busybox_unstripped
2008-03-26 14:57:49 +00:00
Denis Vlasenko
08ec67bc62
patch: add support for -R. ~ +110 byte. By Pascal Bellard <pascal.bellard AT ads-lu.com>
...
fbsplash: new applet by Michele Sanges <michele.sanges AT otomelara.it
function old new delta
fbsplash_main - 1525 +1525
fb_drawfullrectangle - 118 +118
static.param_value - 100 +100
packed_usage 23776 23872 +96
applet_names 1843 1852 +9
applet_main 1120 1124 +4
read_line_input 3156 3158 +2
applet_nameofs 560 562 +2
applet_install_loc 140 141 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 1857/0) Total: 1857 bytes
text data bss dec hex filename
799233 641 7380 807254 c5156 busybox_old
801202 641 7380 809223 c5907 busybox_unstripped
2008-03-26 13:32:30 +00:00
Denis Vlasenko
68e5e2b1c7
help text shrinkage
2008-03-25 03:17:04 +00:00
Denis Vlasenko
fa076d491f
date: even more of help text shrink
2008-03-25 02:49:11 +00:00
Denis Vlasenko
9ce4ae8142
date: make help text more understandable; small shrink
...
text data bss dec hex filename
799025 641 7380 807046 c5086 busybox_old
799009 641 7380 807030 c5076 busybox_unstripped
2008-03-25 02:43:34 +00:00
Denis Vlasenko
a79428998d
lpd: maintainer's update: now with spool helpers
...
function old new delta
exec_helper - 227 +227
sane 66 117 +51
packed_usage 23806 23828 +22
lpd_main 486 504 +18
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 318/0) Total: 318 bytes
2008-03-23 23:40:18 +00:00
Denis Vlasenko
324d26f9aa
pscan: fix a typo in help text
2008-03-23 18:44:59 +00:00
Denis Vlasenko
715c16ab0a
pscan: add -c, -b: report closed, blocked ports
2008-03-23 14:46:14 +00:00
Denis Vlasenko
3c96d0258c
hdparm: do not lie about supporting -q (quiet)
...
hdparm: interpret_standby() shrink
hdparm: make HDIO_GET/SET_QDMA #ifdef more complete
(by Joe Krahn <krahn AT niehs.nih.gov>)
function old new delta
packed_usage 23798 23776 -22
process_dev 5342 5315 -27
2008-03-20 13:44:50 +00:00
Denis Vlasenko
403a5a298e
tftpd: options -c (allow _new_ files to be uploaded) and -u USER
...
function old new delta
tftp_protocol 1316 1466 +150
packed_usage 23774 23798 +24
tftpd_main 509 502 -7
tftp_main 311 252 -59
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 174/-66) Total: 108 bytes
text data bss dec hex filename
797700 641 7380 805721 c4b59 busybox_old
797833 641 7380 805854 c4bde busybox_unstripped
2008-03-19 13:07:00 +00:00
Denis Vlasenko
d7e6af2dda
tftpd: make open() check r/w permissions instead of doing it ourself.
...
Add -r "prohibit upload" opt for those lazy people who run tftpd as root.
-40 bytes.
2008-03-18 01:13:11 +00:00
Denis Vlasenko
d1277c6052
remove extra spaces in help text; delete duplicate #define
2008-03-17 09:37:24 +00:00
Denis Vlasenko
b44c790e41
*: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname.
...
chrt,taskset,dc,eject: shrink
crontab: call "vi" with just name, no path
watchdog: intercept all fatal signals
function old new delta
xstrtoull_range - 35 +35
static.sg_commands - 18 +18
packed_usage 23698 23712 +14
watchdog_main 148 151 +3
crontab_main 637 638 +1
base 1 - -1
static.ps 4 - -4
pointer 4 - -4
stack_machine 99 92 -7
run_command 273 260 -13
eject_main 360 343 -17
static.C 30 12 -18
ptok 61 38 -23
xstrtol_range 27 - -27
get_token 35 - -35
taskset_main 586 550 -36
chrt_main 411 372 -39
dc_main 158 117 -41
time_main 1127 1037 -90
------------------------------------------------------------------------------
(add/remove: 2/5 grow/shrink: 3/9 up/down: 71/-355) Total: -284 bytes
text data bss dec hex filename
793680 662 7420 801762 c3be2 busybox_old
793327 662 7412 801401 c3a79 busybox_unstripped
2008-03-17 09:29:43 +00:00
Denis Vlasenko
aa9b1828b9
tftpd: new applet (mostly using existing code for tftp)
...
function old new delta
tftp_protocol - 1173 +1173
tftpd_main - 500 +500
tftp_option_get - 102 +102
packed_usage 23650 23662 +12
applet_names 1809 1815 +6
applet_main 1100 1104 +4
applet_nameofs 550 552 +2
tftp_main 302 301 -1
get_nport 32 - -32
tftp 1172 - -1172
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 4/1 up/down: 1799/-1205) Total: 594 bytes
text data bss dec hex filename
796479 662 7420 804561 c46d1 busybox_old
797153 662 7420 805235 c4973 busybox_unstripped
2008-03-17 09:10:39 +00:00
Denis Vlasenko
85c247161b
*: fix fallout from -Wunused-parameter
...
function old new delta
bbunpack 358 366 +8
passwd_main 1070 1072 +2
handle_incoming_and_exit 2651 2653 +2
getpty 88 86 -2
script_main 975 972 -3
inetd_main 2036 2033 -3
dname_enc 377 373 -4
make_new_session 474 462 -12
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes
text data bss dec hex filename
797429 658 7428 805515 c4a8b busybox_old
797417 658 7428 805503 c4a7f busybox_unstripped
2008-03-17 09:04:04 +00:00
Denis Vlasenko
397de617f3
help text: regularize format, and shrink
...
getty: shrink, and improve comments
mount: OPT_ALL is superfluous, we already have OPT_a
function old new delta
bcode 47 25 -22
getty_main 2503 2349 -154
packed_usage 23928 23698 -230
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-406) Total: -406 bytes
text data bss dec hex filename
798031 658 7428 806117 c4ce5 busybox_old
797604 658 7428 805690 c4b3a busybox_unstripped
2008-03-17 08:55:44 +00:00
Denis Vlasenko
afc4113ed7
fuser: bugfixes and shrink. It was assuming that xmalloc zeroes returned area!
...
function old new delta
scan_dir_links - 106 +106
add_inode - 89 +89
scan_link - 78 +78
file_to_dev_inode - 64 +64
search_dev_inode - 63 +63
add_pid - 39 +39
packed_usage 23948 23928 -20
fuser_add_pid 49 - -49
fuser_file_to_dev_inode 64 - -64
fuser_search_dev_inode 77 - -77
fuser_scan_link 91 - -91
fuser_scan_dir_links 108 - -108
fuser_add_inode 124 - -124
fuser_main 1450 1243 -207
------------------------------------------------------------------------------
(add/remove: 6/6 grow/shrink: 0/2 up/down: 439/-740) Total: -301 bytes
text data bss dec hex filename
798327 658 7428 806413 c4e0d busybox_old
797988 658 7428 806074 c4cba busybox_unstripped
2008-03-17 08:44:58 +00:00
Denis Vlasenko
cdf62770af
dos2unix: tiny shrink
...
login,su: fix setup_environment() so that it works as intended
(parameter names were a bit misleading)
fdisk: shrink
help text: shrink
function old new delta
login_main 1658 1701 +43
setup_environment 206 203 -3
dos_compatible_flag 4 1 -3
dos2unix_main 383 375 -8
get_boot 1724 1702 -22
fdisk_main 2949 2889 -60
packed_usage 24250 23948 -302
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/6 up/down: 43/-398) Total: -355 bytes
text data bss dec hex filename
798768 661 7428 806857 c4fc9 busybox_old
798327 658 7428 806413 c4e0d busybox_unstripped
2008-03-17 08:42:43 +00:00
Denis Vlasenko
4e6d5117b8
inetd: make it NOMMU-capable and IPv6-friendly. Lots of renames
...
of variable/function names
Total: -2474 bytes
text data bss dec hex filename
802215 661 7452 810328 c5d58 busybox_old
800120 661 7428 808209 c5511 busybox_unstripped
2008-03-12 22:14:34 +00:00