aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2009-03-29build system: hdparm -d is not that dangerous, remove warningDenis Vlasenko
2009-03-22timeout: fix parsing of -t NUM on MMUDenis Vlasenko
2009-03-20Compatibility fixes:Denis Vlasenko
grep: support -z find: support --mindepth together +45 bytes cpio: support -p (configurable, +230 bytes) libbb: tweaks for cpio
2009-03-16chat: update by VladimirDenis Vlasenko
1) to treat timeout more correctly (timeout affects whole send command duration, not a single char); 2) to recognize RECORD directive. function old new delta chat_main 1246 1359 +113 exitcode 1 - -1
2009-03-11docs/logging_and_backgrounding.txt: new mini-docDenis Vlasenko
dnsd: remove statics, remove nerly-useless SIGINT handler crond: correct more of logfile to 0666 (as usual, umask allows user to remove unwanted bits). nameif: print errors to stderr too, not just to syslog function old new delta udhcp_read_interface 308 306 -2 ttl 4 - -4 fileconf 4 - -4 dnsentry 4 - -4 interrupt 19 - -19 dnsd_main 1463 1394 -69 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 0/2 up/down: 0/-102) Total: -102 bytes text data bss dec hex filename 808161 476 7864 816501 c7575 busybox_old 807994 468 7856 816318 c74be busybox_unstripped
2009-02-26runsv: small optimizationDenis Vlasenko
*: more paranoia around passing NULL to execl[e] function old new delta custom 240 221 -19
2009-02-24flash_eraseall.c: fix vda's breakageDenis Vlasenko
2009-02-23- by not calling getpagesize() twice we can save 2 bytes (walter harms)Bernhard Reutner-Fischer
2009-02-19flash_eraseall: shrinkDenis Vlasenko
function old new delta flash_eraseall_main 1044 1006 -38
2009-02-18- bail out if screen resolution does not match PPM dimensions.Bernhard Reutner-Fischer
Previously a 640x480 PPM on an e.g. 720x400 console would just segfault when reading the lines. While this bug should perhaps be fixed to handle such cases properly we just exit gracefully until somebody is willing to take care of it properly.
2009-02-18- document ppm header and skip whitespaceBernhard Reutner-Fischer
2009-02-18- eliminate globalsBernhard Reutner-Fischer
2009-02-18- make it compile and shrink it a little bit (~-110 bytes)Bernhard Reutner-Fischer
text data bss dec hex filename 1533 4 0 1537 601 miscutils/flash_eraseall.o.old 1415 4 0 1419 58b miscutils/flash_eraseall.o - add some FIXMEs
2009-02-18- add flash_eraseallBernhard Reutner-Fischer
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-16- PPMs can have comments in the header.Bernhard Reutner-Fischer
Thanks to Denys for pointing that out. (~+7b)
2009-02-14- misc untested shrinkage:Bernhard Reutner-Fischer
$ ./scripts/bloat-o-meter _bb_un.oorig busybox_unstripped function old new delta fbsplash_main 595 985 +390 fb_drawimage 493 - -493 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 390/-493) Total: -103 bytes $ size miscutils/fbsplash.o* text data bss dec hex filename 2019 0 0 2019 7e3 miscutils/fbsplash.o.oorig 1857 0 0 1857 741 miscutils/fbsplash.o.new
2009-02-14- improve helptext of obsolete devfs stuff..Bernhard Reutner-Fischer
2009-02-03crond,crontab: make cron directory location configurableDenis Vlasenko
2009-01-31ionice: new applet, adapted from Linux kernel' example by Walter HarmsDenis Vlasenko
text data bss dec hex filename 1050316 924 10952 1062192 103530 busybox_old 1050758 924 10952 1062634 1036ea busybox_unstripped
2009-01-27- update Michele addressBernhard Reutner-Fischer
2008-12-30dc: fix the "base 2" patch omission of base not being setDenis Vlasenko
2008-12-30libbb: add bb_unsetenv (taken from hush).Denis Vlasenko
udhcpc: stop filtering environment passed to the script. crond: fix uncovered potential bug (failing unsetenv) mdev: fix uncovered potential bug (failing unsetenv) tcp, udpsvd: fix uncovered potential bug (failing unsetenv) function old new delta safe_setenv - 58 +58 bb_unsetenv - 55 +55 builtin_unset 139 138 -1 tcpudpsvd_main 1843 1830 -13 free_strings_and_unsetenv 87 53 -34 udhcp_run_script 1186 1133 -53 safe_setenv4 62 - -62 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 0/4 up/down: 113/-163) Total: -50 bytes
2008-12-14watchdog: build fixes, no code changesDenis Vlasenko
2008-12-10libiproute: fix buggy open check: s/if (fd)/if (fd >= 0)/Denis Vlasenko
less: small optimization -15 bytes
2008-12-04clarify which version of crond is known to put tasks in separate pgrpsDenis Vlasenko
2008-12-03libbb: introduce and use xgetpwnam. ~ -150 bytes.Denis Vlasenko
2008-12-03crond: use bb_setpgrp, not setpgrpDenis Vlasenko
platform.h: make a bit more readable
2008-12-02libbb: password/group function helpers rewritten by Tito:Denis Vlasenko
function old new delta xgetpwuid - 27 +27 uid2uname_utoa - 22 +22 gid2group_utoa - 22 +22 uid2uname - 18 +18 gid2group - 18 +18 buffer_fill_and_print 179 196 +17 print_user 12 24 +12 print_group 12 24 +12 get_cached 89 99 +10 ... print_common 134 120 -14 vlock_main 415 396 -19 logger_main 410 387 -23 crontab_main 642 609 -33 bb_getpwuid 42 - -42 bb_getgrgid 42 - -42 bb_getug 80 - -80 ------------------------------------------------------------------------------ (add/remove: 6/3 grow/shrink: 9/11 up/down: 187/-296) Total: -109 bytes
2008-12-02crond: put tasks in separate process groupsDenis Vlasenko
2008-11-29mountpoint: add -n option (by Vladimir)Denis Vlasenko
text data bss dec hex filename 799859 560 7748 808167 c54e7 busybox_old 799845 560 7748 808153 c54d9 busybox_unstripped
2008-11-29inotifyd: save resourses by closing unused inotify descriptorsDenis Vlasenko
2008-11-24timeout: fix a few bugs. vda is stupidDenis Vlasenko
2008-11-24timeout: new applet. 370 bytes. by Roberto Foglietta.Denis Vlasenko
2008-11-23strings: code shrink -22 bytes by TitoDenis Vlasenko
2008-11-20inotifyd: exit if x event happened for all filesDenis Vlasenko
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-17inotify: add x, o, and u eventsDenis Vlasenko
2008-11-16man: better check for duplicated MANPATH. Also -10 bytes.Denis Vlasenko
2008-11-14inotifyd: fix "inotifyd with no params" caseDenis Vlasenko
2008-11-14inotify: document waiting behaviorDenis Vlasenko
2008-11-14inotify: fix buffer overflow and "unreaped zombies" problemDenis Vlasenko
2008-11-10build system: reorder less' options in config so thatDenis Vlasenko
they are properly indented
2008-11-06build system: tidying up CONFIG_xxx names (suggested by Rob)Denis Vlasenko
2008-11-02less: fix pasting into search line ('/' cmd) -Denis Vlasenko
it was mishandled because pasting "types" very fast and read_key eats many chars. +30 bytes.
2008-10-31less: fix newly-introduced case of less spinning foreverDenis Vlasenko
on pty's closed etc
2008-10-30dc: support for bases 2 and 8, by Nate Case (ncase AT xes-inc.com)Denis Vlasenko
function old new delta print_base 87 176 +89 set_output_base 81 95 +14 static.bases - 5 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 108/0) Total: 108 bytes
2008-10-29randomconfig fixesDenis Vlasenko
2008-10-26devmem: fixlet in cleanup codeDenis Vlasenko
2008-10-26devmem: make it more script-friendly; don't do any readsDenis Vlasenko
and output nothing if writing was requested. -100 bytes
2008-10-26less: correctly wrap lines with tabsDenis Vlasenko
2008-10-26devmem: new appletDenis Vlasenko