aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2008-03-17*: add -Wunused-parameter; fix resulting breakageDenis Vlasenko
function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
2008-03-17help text: regularize format, and shrinkDenis Vlasenko
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-17mount: plug a hole where FEATURE_MOUNT_HELPERS could allow executionDenis Vlasenko
of arbitrary command. function old new delta mount_it_now 266 309 +43
2008-03-17dos2unix: tiny shrinkDenis Vlasenko
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-17fsck_minix: getopt32-ification; code shrink; reduce stack usage;Denis Vlasenko
fix bug in map_block2: s/(blknr >= 256 * 256)/(blknr < 256 * 256)/ function old new delta get_inode_common - 291 +291 add_zone_common - 205 +205 ask 229 215 -14 write_super_block 109 90 -19 write_block 653 629 -24 bad_zone 95 64 -31 read_block 241 198 -43 fsck_minix_main 3285 3195 -90 add_zone2 217 34 -183 add_zone 216 33 -183 recursive_check 1097 866 -231 recursive_check2 1340 956 -384 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/10 up/down: 496/-1202) Total: -706 bytes text data bss dec hex filename 799349 661 7428 807438 c520e busybox_old 798437 661 7428 806526 c4e7e busybox_unstripped
2008-02-28script: correctly handle buffered "tail" of output. +35 bytes.Denis Vlasenko
2008-02-27- fix compilation failure due to implicit decl of resolve_mount_spec().Bernhard Reutner-Fischer
DCE DTRT so remove the wrong guard.
2008-02-27*: add optimization barrier to all "G trick" locationsDenis Vlasenko
2008-02-27script: new applet by Pascal Bellard <pascal.bellard AT ads-lu.com>Denis Vlasenko
2008-02-25lpd: spool mode added by VladimirDenis Vlasenko
lpr: more robust error reporting *: introduce and use xchroot libbb: full_read/write now will report partial data counts prior to error isdirectory.c: style fixes lpd_main 249 486 +237 xchroot - 29 +29 get_response_or_say_and_die 110 139 +29 full_write 52 60 +8 full_read 55 63 +8 static.newline 1 - -1 switch_root_main 404 400 -4 chpst_main 1089 1079 -10 getopt32 1370 1359 -11 chroot_main 115 101 -14 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 4/4 up/down: 311/-40) Total: 271 bytes text data bss dec hex filename 798472 728 7484 806684 c4f1c busybox_old 798775 728 7484 806987 c504b busybox_unstripped
2008-02-20[#1334] exec script for devices even if they dont have device nodesMike Frysinger
2008-02-19findfs,mount: trivial build fix and whitespace fiexsDenis Vlasenko
2008-02-18support for mount by label (not yet tested)Denis Vlasenko
Also adds findfs applet. Closes bug 1143.
2008-02-18mount: with -vv -f, say what mount() calls we were going to makeDenis Vlasenko
782357 728 7476 790561 c1021 busybox_old 782429 728 7476 790633 c1069 busybox_unstripped
2008-02-18mount: optional support for -vv verbosityDenis Vlasenko
mount: do "struct globals" trick With -vv on: function old new delta verbose_mount - 83 +83 mount_main 970 988 +18 mount_it_now 219 229 +10 singlemount 4564 4570 +6 mount_option_str 227 233 +6 nfs_mount_version 1 - -1 fslist 4 - -4 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 4/0 up/down: 123/-5) Total: 118 bytes
2008-02-18mount: recognize "dirsync" (closes bug 835)Denis Vlasenko
mount: sanitize environ if called by non-root *: adjust for slightly different sanitize routine
2008-02-17libbb: introduce and use xrename and rename_or_warn.Denis Vlasenko
2008-02-16mount: make -f work even without mtab supportDenis Vlasenko
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
2008-02-16libbb: introduce bb_signals and bb_signals_recursive,Denis Vlasenko
which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
2008-02-16random s/short/int/Denis Vlasenko
add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
2008-02-15we need to pass back the rtc device name that was actually used so that we ↵Mike Frysinger
can turn around and check its sysfs status
2008-02-15fix build failure when long opts are enabledMike Frysinger
2008-02-15split some rtc funcs out of hwclock and into an rtc header/lib so that the ↵Mike Frysinger
new rtcwake applet as well as hwclock can utilize the same code
2008-02-14umount: instead of non-standard -D, use -d with opposite meaningDenis Vlasenko
(closes bug 1604) umount: do not try to free loop device or erase mtab if remounted ro umount: do not complain several times about the same mountpoint function old new delta umount_main 646 638 -8 packed_usage 23662 23652 -10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-18) Total: -18 bytes
2008-02-13switch_root: stop at first non-option. Closes bug 1425.Denis Vlasenko
2008-02-13mkswap: fix help text to not lie about supported options.Denis Vlasenko
mkswap: use uint32, not int, to match kernel. mkswap: optimization: use pre-zeroed buffer
2008-02-10getpot: add support for "a+" specifier for nonnegative int parameters.Denis Vlasenko
By Vladimir Dronnikov <dronnikov at gmail.com>. fdisk and top are converted as an example. function old new delta getopt32 1340 1370 +30 top_main 1137 1120 -17 fdisk_main 3033 2949 -84 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 30/-101) Total: -71 bytes
2008-02-03mkswap: do not do extra seekDenis Vlasenko
mount: add another mount helper call method
2008-02-01add support for renaming/relocating device nodesMike Frysinger
2008-01-29- be C99 friendly. Anonymous unions are a GNU extension. This change isBernhard Reutner-Fischer
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.
2008-01-29mount: allow and ignore _netdev optionDenis Vlasenko
2008-01-28*: move getopt reset code to better place(s)Denis Vlasenko
2008-01-27mkswap, readahead: stop using fdlength, it is reported to be unreliableDenis Vlasenko
2008-01-27- fix conflicting decls of syslog related facilitynames and prioritynames tablesBernhard Reutner-Fischer
2008-01-25fdisk: comment out unused functionDenis Vlasenko
2008-01-24fdisk: fix a case where break was reached only for DOS labelsDenis Vlasenko
2008-01-23as reported by George Boudreau, make sure we properly skip blank linesMike Frysinger
2007-12-26save a bit of code with *strchrnul = '\0' trickDenis Vlasenko
function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
2007-12-24nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko
*: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
2007-12-24umount: fix fallout from stack reduction changeDenis Vlasenko
2007-12-22perror_nomsg: don't print extra colonDenis Vlasenko
losetup: print name of loop device in error messages
2007-12-21fix buglets found by randomconfigDenis Vlasenko
2007-12-16fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko
(add/remove: 0/13 grow/shrink: 6/19 up/down: 74/-492) Total: -418 bytes text data bss dec hex filename 778330 860 7408 786598 c00a6 busybox_old 777970 840 7376 786186 bff0a busybox_unstripped
2007-12-02mkfs.minix: add testsuite; disable code which makes images variableDenis Vlasenko
2007-12-02attack the biggest stack users:Denis Vlasenko
-mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
2007-11-23fix buglets found by randomconfigDenis Vlasenko
2007-11-19cleanup comments and coding style and rewrite the mdev.conf parser to use ↵Mike Frysinger
common busybox functions and call strdup() less often ... saves a ~few hundred bytes
2007-11-18hexdump: add hd alias, add -R optionDenis Vlasenko
2007-11-16dmesg,klogd: make code more readableDenis Vlasenko
libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
2007-11-13tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko
readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20