aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
Commit message (Collapse)AuthorAgeFilesLines
* Use intra-DSO calls when we build libbusybox. No-op for normal build.Gravatar Denis Vlasenko2008-05-091-0/+8
| | | | | | | | | This was Bernhard Fischer' idea. text data bss dec hex filename 773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped 769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
* fix a few stray unguarded strdup'sGravatar Denis Vlasenko2008-03-281-1/+1
|
* *: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/Gravatar Denis Vlasenko2008-03-261-1/+1
|
* *: use fopen_or_warn in few more placesGravatar Denis Vlasenko2008-03-201-2/+1
|
* volume_id: disable detection routines which are not setting label and uuid ↵Gravatar Denis Vlasenko2008-03-171-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anyway function old new delta static.warn 1 - -1 static.drive_name_string 14 12 -2 static.offsets 8 - -8 static.sectors 10 - -10 fs2 60 48 -12 raid2 16 - -16 uuidcache_init 704 677 -27 raid1 32 - -32 volume_id_probe_all 198 158 -40 volume_id_probe_lvm1 58 - -58 volume_id_probe_highpoint_37x_raid 63 - -63 volume_id_probe_hpfs 67 - -67 volume_id_probe_minix 74 - -74 volume_id_probe_lvm2 78 - -78 volume_id_probe_silicon_medley_raid 97 - -97 volume_id_probe_via_raid 101 - -101 volume_id_probe_highpoint_45x_raid 104 - -104 volume_id_probe_nvidia_raid 108 - -108 volume_id_probe_lsi_mega_raid 108 - -108 volume_id_probe_intel_software_raid 108 - -108 volume_id_probe_ufs 126 - -126 volume_id_probe_promise_fasttrack_raid 144 - -144 ------------------------------------------------------------------------------ (add/remove: 0/18 grow/shrink: 0/4 up/down: 0/-1384) Total: -1384 bytes text data bss dec hex filename 794244 662 7420 802326 c3e16 busybox_old 792698 662 7420 800780 c380c busybox_unstripped
* *: shrink by using [f]open_or_warn_stdin where appropriateGravatar Denis Vlasenko2008-03-171-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta lsattr_main 62 143 +81 open_or_warn_stdin - 36 +36 fclose_if_not_stdin 20 47 +27 xfopen_stdin - 20 +20 tac_main 336 356 +20 cksum_main 249 259 +10 bb_argv_dash - 8 +8 su_main 448 455 +7 cmp_main 630 633 +3 passwd_main 1072 1074 +2 uudecode_main 317 315 -2 text_yank 110 108 -2 handle_incoming_and_exit 2653 2651 -2 flags 5 1 -4 write_leases 235 230 -5 fopen_or_warn_stdin 48 42 -6 fold_main 648 642 -6 static.argv_dash 8 - -8 sum_main 142 128 -14 tail_main 1237 1221 -16 sed_main 711 695 -16 cmp_xfopen_input 17 - -17 bb_cat 113 96 -17 catv_main 328 306 -22 strings_main 457 434 -23 hash_file 298 274 -24 sum_file 353 325 -28 sort_main 904 859 -45 expand_main 736 686 -50 cut_main 1116 1065 -51 md5_sha1_sum_main 549 493 -56 lsattr_args 90 - -90 read_stduu 408 255 -153 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 7/20 up/down: 214/-657) Total: -443 bytes text data bss dec hex filename 797417 658 7428 805503 c4a7f busybox_old 796973 658 7428 805059 c48c3 busybox_unstripped
* clean up TODO file. No real code changes.Gravatar Denis Vlasenko2008-03-173-6/+3
|
* *: add -Wunused-parameter; fix resulting breakageGravatar Denis Vlasenko2008-03-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fsck: shrink (we were passing around some params which were unused)Gravatar Denis Vlasenko2008-03-171-137/+100
| | | | | | | | | | | | | | | | | | | function old new delta fsck_main 1807 2256 +449 fsck_device 196 189 -7 create_fs_device 131 124 -7 wait_one 325 309 -16 wait_many 52 33 -19 free_instance 38 - -38 packed_usage 23698 23650 -48 execute 2508 2402 -106 check_all 609 - -609 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/6 up/down: 449/-850) Total: -401 bytes text data bss dec hex filename 797604 658 7428 805690 c4b3a busybox_old 797195 658 7428 805281 c49a1 busybox_unstripped
* libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_setGravatar Denis Vlasenko2008-03-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | signal_SA_RESTART_empty_mask - 65 +65 signal_no_SA_RESTART_empty_mask - 54 +54 dd_main 1325 1369 +44 sigaction_set - 19 +19 dname_enc 373 377 +4 UNSPEC_print 64 66 +2 setsignal 296 294 -2 bb_signals_recursive 95 92 -3 bb_askpass 367 361 -6 inetd_main 1810 1797 -13 rx_main 912 883 -29 sigdelset 32 - -32 __sigdelset 32 - -32 __GI_sigdelset 32 - -32 sighup_handler 84 37 -47 arping_main 1844 1797 -47 fsck_main 1869 1807 -62 run_list 1917 1844 -73 vlock_main 492 409 -83 progressmeter 883 798 -85 handle_incoming_and_exit 2737 2651 -86 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 3/12 up/down: 188/-632) Total: -444 bytes
* less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)Gravatar Denis Vlasenko2008-02-241-2/+2
| | | | | *: minor shrink
* support for mount by label (not yet tested)Gravatar Denis Vlasenko2008-02-181-17/+1
| | | | | Also adds findfs applet. Closes bug 1143.
* fsck: don't kill pid -1! (Roy Marples <roy at marples.name>)Gravatar Denis Vlasenko2008-02-021-0/+6
|
* save a bit of code with *strchrnul = '\0' trickGravatar Denis Vlasenko2007-12-261-3/+1
| | | | | | | | | function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
* nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Gravatar Denis Vlasenko2007-12-242-2/+2
| | | | | | | | | | | | *: 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
* e2fsprogs: code shrinkGravatar Denis Vlasenko2007-10-304-58/+80
| | | | | | | text data bss dec hex filename 776594 974 9420 786988 c022c busybox_old 776494 974 9420 786888 c01c8 busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsGravatar Denis Vlasenko2007-10-117-7/+7
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* 'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Gravatar Denis Vlasenko2007-10-012-2/+2
| | | | | 263 bytes saved.
* replace printf with fputs where appropriateGravatar Denis Vlasenko2007-09-301-2/+2
|
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Gravatar Denis Vlasenko2007-09-279-17/+17
|
* don't pass argc in getopt32, it's superfluousGravatar Denis Vlasenko2007-08-182-2/+2
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* Comment out "#include <strings.h>" everywhereGravatar Denis Vlasenko2007-08-161-1/+1
|
* trylink: produce even more info about final link stageGravatar Denis Vlasenko2007-08-126-17/+17
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* Replace index_in_[sub]str_array with index_in_[sub]strings,Gravatar Denis Vlasenko2007-07-241-22/+18
| | | | | | | | | which scans thru "abc\0def\0123\0\0" type strings. Saves 250 bytes. text data bss dec hex filename 781266 1328 11844 794438 c1f46 busybox_old 781010 1328 11844 794182 c1e46 busybox_unstripped
* style fix (stray space before ';')Gravatar Denis Vlasenko2007-07-218-12/+12
|
* xioctl and friends by Tito <farmatito@tiscali.it>Gravatar Denis Vlasenko2007-07-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_iptunnel 203 977 +774 process_dev 5328 5494 +166 ioctl_or_perror - 54 +54 ioctl_or_perror_and_die - 51 +51 ioctl_alt_func - 49 +49 bb_ioctl_or_warn - 47 +47 do_add_ioctl 102 145 +43 bb_xioctl - 39 +39 print_value_on_off - 31 +31 get_lcm 105 123 +18 arp_main 2155 2167 +12 .................. zcip_main 1576 1566 -10 setlogcons_main 92 82 -10 dumpkmap_main 263 253 -10 do_get_ioctl 85 75 -10 setkeycodes_main 165 154 -11 write_table 244 232 -12 vconfig_main 318 306 -12 do_del_ioctl 93 81 -12 set_address 75 62 -13 maybe_set_utc 30 16 -14 loadfont_main 495 479 -16 slattach_main 712 695 -17 do_loadfont 191 174 -17 do_iplink 1155 1136 -19 getty_main 2583 2562 -21 fbset_main 2058 2035 -23 do_time 588 565 -23 xioctl 25 - -25 read_rtc 186 160 -26 parse_conf 1299 1270 -29 udhcp_read_interface 269 239 -30 bb_ioctl 45 - -45 bb_ioctl_alt 70 - -70 bb_ioctl_on_off 78 - -78 .rodata 129370 129018 -352 do_show 799 - -799 ------------------------------------------------------------------------------ (add/remove: 6/5 grow/shrink: 13/49 up/down: 1316/-1864) Total: -548 bytes text data bss dec hex filename 675352 2740 13968 692060 a8f5c busybox_old 674804 2740 13968 691512 a8d38 busybox_unstripped
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-267-7/+7
| | | | | *: s/include "busybox.h"/include "libbb.h"
* e2fsprogs: stop using statics in chattr. Minor code shrinkage (-130 bytes)Gravatar Denis Vlasenko2007-04-153-83/+82
|
* bb_full_fd_action: remove potential xmalloc from NOFORK pathGravatar Denis Vlasenko2007-04-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
* style fixes, no code changes.Gravatar Denis Vlasenko2007-04-111-1/+1
|
* style fixes. No code changes.Gravatar Denis Vlasenko2007-04-101-1/+1
|
* - sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Gravatar Bernhard Reutner-Fischer2007-04-044-12/+12
|
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)Gravatar Denis Vlasenko2007-03-261-6/+1
| | | | fsck: fix bad English in a comment
* Attempt to get more applets compile for NOMMU.Gravatar Denis Vlasenko2007-03-261-13/+2
| | | | | | | TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyGravatar Denis Vlasenko2007-03-251-1/+2
|
* kill superfluous returns at the end of void functionsGravatar Denis Vlasenko2007-03-1110-15/+0
|
* EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>Gravatar Denis Vlasenko2007-02-061-1/+1
|
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-039-0/+9
| | | | no preceding prototype
* fsck: dead code removal; also disable progress indicator codeGravatar Denis Vlasenko2007-01-191-127/+81
| | | | (doesn't look good to me)
* fsck: stop using strtokGravatar Denis Vlasenko2007-01-191-73/+84
|
* fsck: move functions around so that related ones are nearbyGravatar Denis Vlasenko2007-01-191-170/+185
| | | | no actual code changes
* fsck: small optimizationGravatar Denis Vlasenko2007-01-191-42/+31
|
* Trailing whitespace removal over entire treeGravatar Denis Vlasenko2007-01-111-1/+1
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Gravatar Denis Vlasenko2006-12-281-2/+2
| | | | | | | uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
* style fixesGravatar Denis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* chattr: bugfixes and size reductionGravatar Denis Vlasenko2006-12-261-38/+28
|
* trivial size reductionGravatar Denis Vlasenko2006-12-261-24/+24
|
* leftover of e2fsck surgeryGravatar Denis Vlasenko2006-12-261-82/+36
|
* put small subset of e2fsprogs back in the tree:Gravatar Denis Vlasenko2006-12-26142-0/+42719
| | | | | lsattr, chattr, fsck. Old e2fsprogs tree is in e2fsprogs/old_e2fsprogs/*.
* remove e2fsprogs. Nobody volunteered to clean up that messGravatar Denis Vlasenko2006-12-26133-40208/+0
|