Mike Frysinger
|
f0044c480c
|
add support for renaming/relocating device nodes
|
2008-02-01 06:53:50 +00:00 |
|
Bernhard Reutner-Fischer
|
8c69afd992
|
- be C99 friendly. Anonymous unions are a GNU extension. This change is
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict
C99 mode.
|
2008-01-29 10:33:34 +00:00 |
|
Denis Vlasenko
|
8c638cbf09
|
mount: allow and ignore _netdev option
|
2008-01-29 09:31:09 +00:00 |
|
Denis Vlasenko
|
9772816570
|
*: move getopt reset code to better place(s)
|
2008-01-28 22:57:10 +00:00 |
|
Denis Vlasenko
|
b5c60fc787
|
mkswap, readahead: stop using fdlength, it is reported to be unreliable
|
2008-01-27 23:41:34 +00:00 |
|
Bernhard Reutner-Fischer
|
f470196a41
|
- fix conflicting decls of syslog related facilitynames and prioritynames tables
|
2008-01-27 12:50:12 +00:00 |
|
Denis Vlasenko
|
893988182a
|
fdisk: comment out unused function
|
2008-01-25 20:18:46 +00:00 |
|
Denis Vlasenko
|
a5549c9617
|
fdisk: fix a case where break was reached only for DOS labels
|
2008-01-24 22:49:15 +00:00 |
|
Mike Frysinger
|
46ef46aefb
|
as reported by George Boudreau, make sure we properly skip blank lines
|
2008-01-23 18:48:26 +00:00 |
|
Denis Vlasenko
|
c03e872112
|
save a bit of code with *strchrnul = '\0' trick
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-26 20:56:55 +00:00 |
|
Denis Vlasenko
|
f7be20e70c
|
nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)
*: 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-24 14:09:19 +00:00 |
|
Denis Vlasenko
|
ef36c04ccf
|
umount: fix fallout from stack reduction change
|
2007-12-24 12:11:57 +00:00 |
|
Denis Vlasenko
|
94e3365b8f
|
perror_nomsg: don't print extra colon
losetup: print name of loop device in error messages
|
2007-12-22 15:44:23 +00:00 |
|
Denis Vlasenko
|
ee87ebf381
|
fix buglets found by randomconfig
|
2007-12-21 22:18:16 +00:00 |
|
Denis Vlasenko
|
f77f369ce8
|
fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)
(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-16 17:22:33 +00:00 |
|
Denis Vlasenko
|
7ab3699b58
|
mkfs.minix: add testsuite; disable code which makes images variable
|
2007-12-02 08:55:34 +00:00 |
|
Denis Vlasenko
|
ab801874f8
|
attack the biggest stack users:
-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-12-02 08:35:37 +00:00 |
|
Denis Vlasenko
|
d2023283ac
|
fix buglets found by randomconfig
|
2007-11-23 23:39:01 +00:00 |
|
Mike Frysinger
|
c881c733bb
|
cleanup comments and coding style and rewrite the mdev.conf parser to use common busybox functions and call strdup() less often ... saves a ~few hundred bytes
|
2007-11-19 09:04:22 +00:00 |
|
Denis Vlasenko
|
fbe5f39f0f
|
hexdump: add hd alias, add -R option
|
2007-11-18 05:36:50 +00:00 |
|
Denis Vlasenko
|
7e3a5f58bc
|
dmesg,klogd: make code more readable
libbb: explain why we declare klogctl
libbb: move defs around so that order makes more sense
|
2007-11-16 20:18:54 +00:00 |
|
Denis Vlasenko
|
a89d50fb9a
|
tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)
readprofile: use xwrite
function old new delta
tr_main 679 677 -2
readprofile_main 1964 1944 -20
|
2007-11-13 17:51:40 +00:00 |
|
Denis Vlasenko
|
5cc6459c46
|
umount: stop using excessive aounts of stack. Surprisingly,
code shrank a lot too
function old new delta
umount_main 751 640 -111
|
2007-11-10 01:45:03 +00:00 |
|
Denis Vlasenko
|
b4f608d8e0
|
readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too small
umount: don't actually need char[2 * PATH_MAX] for realpath
|
2007-11-10 01:31:19 +00:00 |
|
Denis Vlasenko
|
6bef3d1d22
|
fbset: fix buglet where we were using wrong pointer
readahead: stop using stdio.h
*: style fixes
|
2007-11-06 03:05:54 +00:00 |
|
Denis Vlasenko
|
f8b21d0933
|
swaponoff: prevent arithmetic overflow (spotted by Paul Fox <pgf@brightstareng.com>)
|
2007-11-05 19:33:38 +00:00 |
|
Denis Vlasenko
|
63430ae35a
|
mount: size-optimize mount_options[] and nfs_errtbl[]
777253 974 9676 787903 c05bf busybox_old
777209 974 9676 787859 c0593 busybox_unstripped
|
2007-10-29 19:18:39 +00:00 |
|
Denis Vlasenko
|
85ff862753
|
mkswap: selinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>
|
2007-10-19 21:49:48 +00:00 |
|
Denis Vlasenko
|
3f5fdc7572
|
remove trailing whitespace
|
2007-10-14 04:55:59 +00:00 |
|
Denis Vlasenko
|
9b49a5ed85
|
add -fvisibility=hidden to CC flags, mark XXX_main functions
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
|
2007-10-11 10:05:36 +00:00 |
|
Denis Vlasenko
|
feb7ae7f01
|
printf("%s\n") -> puts()
|
2007-10-01 12:05:12 +00:00 |
|
Denis Vlasenko
|
0c97c9d437
|
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
|
2007-10-01 11:58:38 +00:00 |
|
Denis Vlasenko
|
b925605441
|
assorted static vars removal
function old new delta
tcpudpsvd_main 1829 1839 +10
update_status 567 569 +2
sigterm 1 - -1
.........
dhcprelay_signal_handler 8 - -8
nfs_strerror 60 49 -11
singlemount 4579 4564 -15
static.p 16 - -16
svstatus 20 - -20
dhcprelay_xid_list 32 - -32
runsv_main 1785 1746 -39
static.buf 74 28 -46
svd 56 - -56
dhcprelay_main 1141 1080 -61
------------------------------------------------------------------------------
(add/remove: 0/20 grow/shrink: 2/10 up/down: 12/-386) Total: -374 bytes
|
2007-09-28 10:29:17 +00:00 |
|
Denis Vlasenko
|
4daad9004d
|
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
|
2007-09-27 10:20:47 +00:00 |
|
Denis Vlasenko
|
1acdc89e99
|
style and message text fixes
|
2007-09-27 10:17:53 +00:00 |
|
Denis Vlasenko
|
7ae209c019
|
losetup: support -f (Loic Grenie <loic.grenie@gmail.com>)
function old new delta
losetup_main 238 278 +40
packed_usage 23021 23027 +6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 46/0) Total: 46 bytes
|
2007-09-26 17:54:18 +00:00 |
|
Denis Vlasenko
|
06b3cc2811
|
make fdisk compile on libc without llseek64
|
2007-09-23 14:05:54 +00:00 |
|
Bernhard Reutner-Fischer
|
73f56bb76d
|
- actually mv microcom.c to miscutils
|
2007-09-22 21:18:46 +00:00 |
|
Denis Vlasenko
|
23856ab8e6
|
move microcom to miscutils
|
2007-09-22 20:51:41 +00:00 |
|
Bernhard Reutner-Fischer
|
f588f70b91
|
- remove some trailing whitespace
|
2007-09-22 20:35:32 +00:00 |
|
Denis Vlasenko
|
f34e821572
|
microcom: add copyright/license info
|
2007-09-22 20:23:57 +00:00 |
|
Denis Vlasenko
|
707669501f
|
microcom: add new applet, this time for real
|
2007-09-21 17:42:40 +00:00 |
|
Denis Vlasenko
|
efd3f38f8c
|
microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>
|
2007-09-21 13:43:28 +00:00 |
|
Denis Vlasenko
|
2535f12cf2
|
httpd: do not clear environment
mount: mount helpers support (by Vladimir Dronnikov <dronnikov@gmail.ru>)
|
2007-09-15 13:28:30 +00:00 |
|
Denis Vlasenko
|
c8d4d2f11d
|
messages: by popular request allow PATH to be customized at build time
mount: smallish code shrink
|
2007-09-07 19:33:56 +00:00 |
|
Denis Vlasenko
|
fdf9060aa3
|
umount: support (by ignoring) -i; style fixes
|
2007-09-06 16:57:05 +00:00 |
|
Denis Vlasenko
|
f0000653e9
|
mount: ignore NFS bg option on NOMMU machines
|
2007-09-04 18:30:26 +00:00 |
|
Denis Vlasenko
|
fb48f6c982
|
mount: allow (and ignore) -i
|
2007-08-29 11:49:41 +00:00 |
|
Denis Vlasenko
|
7d8de4d55d
|
mount: don't close fd twice in NFS code
|
2007-08-28 11:23:23 +00:00 |
|
Denis Vlasenko
|
fe7cd642b0
|
don't pass argc in getopt32, it's superfluous
(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
|
2007-08-18 15:32:12 +00:00 |
|