aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2009-04-09*: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko
2009-04-01more of pointless whitespace fixesDenis Vlasenko
2009-03-31volumeid: fix bug 249 "findfs finds the wrong partition"Denis Vlasenko
2009-03-28randomtest fixesDenis Vlasenko
2009-03-28mkfs.vfat: fix a problem with over-estimating FAT sizeDenis Vlasenko
2009-03-28mkfs.vfat: mkdosfs compat with choosing clyster sizeDenis Vlasenko
2009-03-28mkfs.vfat: more of pointless tweakingDenis Vlasenko
2009-03-28mkfs.vfat: small tweak to commentsDenis Vlasenko
2009-03-28mkdosfs (aka mkfs.vfat): new applet by VladimirDenis Vlasenko
text data bss dec hex filename 821202 476 7616 829294 ca76e busybox_old 823577 476 7616 831669 cb0b5 busybox_unstripped
2009-03-14mount: support "-O option"; stop trying to mount swap partitionsDenis Vlasenko
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-03modprobe: emit "can't open 'modules.dep': (errno)" instead of "module not found"Denis Vlasenko
*: s/can't open %s/can't open '%s'/, it's better to use same string. function old new delta do_modprobe 588 601 +13 config_file_action 339 345 +6 modprobe_main 565 570 +5 unable_to_open 14 16 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 26/0) Total: 26 bytes text data bss dec hex filename 816800 476 7892 825168 c9750 busybox_old 816812 476 7892 825180 c975c 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-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-15volume_id: abort early on read failures.Denis Vlasenko
should help with probing missing fdd's
2009-02-13mdev: if /sys/class/block exists, don't scan /sys/blockDenis Vlasenko
2009-02-02udhcpd: add code which rejects lease files with suspicious or old timestamp.Denis Vlasenko
*: s/time(0)/time(NULL)/g
2009-01-12mdev: fix breakage caused by unified parser usageDenis Vlasenko
2009-01-08do not whine if /sys/block does not exist ... embedded systems dont need ↵Mike Frysinger
stinkin block devices
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-10mount: make it more readableDenis Vlasenko
2008-12-10placate Rob's qualms about mount.cDenis Vlasenko
2008-12-08optimize 16- and 32-bit movesDenis Vlasenko
function old new delta udhcpd_main 1239 1257 +18 udhcp_add_simple_option 93 92 -1 buffer_read_le_u32 19 18 -1 unpack_gz_stream_with_info 526 520 -6 dnsd_main 1470 1463 -7 udhcp_run_script 1208 1186 -22 send_ACK 255 229 -26 arping_main 1661 1623 -38 send_offer 470 428 -42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 18/-143) Total: -125 bytes
2008-12-07Fix forgotten license commentsDenis Vlasenko
2008-12-05mount: cosmetics, no code changes (verified with objdump -drsx)Denis Vlasenko
2008-11-30volume_id/fat: careful with sector#, it may not fit in 32 bits. +91 bytesDenis Vlasenko
volume_id/*: a bit of code shrink
2008-11-29acpid: new applet by Vladimir. +737 bytesDenis Vlasenko
2008-11-25ash,hush: add TODO for rare build failureDenis Vlasenko
*: remove some redundant includes
2008-11-22networking/interface.c: better readability (by Walter Harms)Denis Vlasenko
mkfs_minix: whitespace fix
2008-11-09*: a bit of code shrinkDenis Vlasenko
function old new delta stop_handler 41 38 -3 sulogin_main 508 504 -4 got_cont 4 - -4 cont_handler 11 - -11 startservice 309 297 -12 processorstart 423 409 -14 tcpudpsvd_main 1861 1843 -18 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes
2008-11-06build system: tidying up CONFIG_xxx names (suggested by Rob)Denis Vlasenko
2008-11-05*: code shrink by adding a wrapper around very common tcsetattr(0, TCSANOW, ↵Denis Vlasenko
xx) op function old new delta tcsetattr_stdin_TCSANOW - 14 +14 set_sane_term 116 113 -3 top_main 1277 1273 -4 make_new_session 421 415 -6 rawmode 133 126 -7 reset_term 18 10 -8 die 43 35 -8 cookmode 62 54 -8 vlock_main 425 415 -10 read_line_input 3165 3155 -10 bb_askpass 357 347 -10 fsck_minix_main 3079 3065 -14 getty_main 2375 2332 -43 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/12 up/down: 14/-131) Total: -117 bytes
2008-10-29whitespace fixes, no code changesDenis Vlasenko
2008-10-21getopt: reinstate erroneously removed getopt() reset code.Denis Vlasenko
2008-10-20ash: fix a bug in standalone mode (corrupted getopt() state)Denis Vlasenko
2008-10-19add comment explaining previous changeDenis Vlasenko
2008-10-19volume identification: abolish /proc/partitions and /proc/cdromsDenis Vlasenko
scanning. It does not catch volume managers and such. Adding even more cruft is bad, so I decided to simply scan /dev/* for any block devices. See how much better it finds devices now: # ./busybox_old blkid /dev/sda1: LABEL="/boot" UUID="7931e231-dcb4-4b6d-9301-f7354ae24061" /dev/dm-0: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" /dev/dm-1: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267" /dev/sdb1: UUID="6F84-ED0F" # ./busybox blkid /dev/sdb1: UUID="6F84-ED0F" /dev/root: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" /dev/dm-1: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267" /dev/dm-0: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" /dev/sda1: LABEL="/boot" UUID="7931e231-dcb4-4b6d-9301-f7354ae24061" /dev/mapper/VolGroup00-LogVol01: UUID="edc2a920-ef83-437e-ba64-d3b6dc851267" /dev/mapper/VolGroup00-LogVol00: LABEL="Fedora-9-Live-x8" UUID="bb491e1e-1145-4f5b-b0ab-cbd2baf4f15a" function old new delta static.drive_name_string 12 - -12 append_mount_options 205 190 -15 volume_id_open_node 37 18 -19 uuidcache_check_device 485 257 -228 uuidcache_init 637 36 -601 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-875) Total: -875 bytes text data bss dec hex filename 792218 592 6648 799458 c32e2 busybox_old 791260 592 6648 798500 c2f24 busybox_unstripped
2008-10-19blkid: vda forgot to svn add it again. vda is stupidDenis Vlasenko
2008-10-18mount: -o parm1 -o parm2 should accumulateDenis Vlasenko
2008-10-13hush: fix trashing of environment by local env vars:Denis Vlasenko
a=a; a=b cmd; - a was unset! +57 bytes function old new delta add_string_to_strings - 110 +110 putenv_all - 27 +27 run_list 2086 2111 +25 free_strings - 7 +7 free_pipe 210 208 -2 add_malloced_string_to_strings 110 - -110 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 1/1 up/down: 169/-112) Total: 57 bytes
2008-10-12blkid: new applet. We almost had everything needed for it alreadyDenis Vlasenko
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-12findfs: fix LUKS and FAT detection routines; do not exit if corruptedDenis Vlasenko
FAT fs makes us try to seek past volume function old new delta volume_id_get_buffer 301 327 +26 volume_id_probe_luks 79 82 +3 get_attr_volume_id 73 65 -8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 29/-8) Total: 21 bytes
2008-09-25- update my name. No obj-code changes ;)Bernhard Reutner-Fischer
2008-09-07watchdog: add -T optionDenis Vlasenko
function old new delta watchdog_main 159 219 +60 mdev: support match by major,minor. See bug 4714. +100 bytes.
2008-08-24fbset: fix mode matching code: original code may trigger false positive.Denis Vlasenko
E.g. fbset -n '16bit' succeeded at 'mode "640x480 16bit"' and that is wrong. Also parser is rewritten. By Vladimir. function old new delta static.syncs - 20 +20 g_options 4 - -4 g_cmdoptions 432 385 -47 fbset_main 1842 1642 -200
2008-08-23setarch: do not try to use non-existent data in argv[]Denis Vlasenko
2008-08-19- add new applet rdev (Grant Erickson)Bernhard Reutner-Fischer
- fixes and shrink (me)
2008-08-06- support relatime / norelatimeBernhard Reutner-Fischer
2008-08-04libbb: make xrealloc_vector zero out the realloc'ed tailDenis Vlasenko
function old new delta xrealloc_vector_helper 51 76 +25 man_main 712 705 -7 act 250 234 -16 create_list 91 70 -21 getopt_main 695 664 -31 load_dep_bb 281 248 -33 fileAction 744 709 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 25/-143) Total: -118 bytes
2008-07-29randomconfig fixesDenis Vlasenko
2008-07-27fbset: shrink code a bit moreDenis Vlasenko