aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - fix compilation failure due to implicit decl of resolve_mount_spec().Bernhard Reutner-Fischer2008-02-271-2/+0
| | | | DCE DTRT so remove the wrong guard.
* *: add optimization barrier to all "G trick" locationsDenis Vlasenko2008-02-275-6/+4
|
* script: new applet by Pascal Bellard <pascal.bellard AT ads-lu.com>Denis Vlasenko2008-02-272-0/+196
|
* lpd: spool mode added by VladimirDenis Vlasenko2008-02-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* [#1334] exec script for devices even if they dont have device nodesMike Frysinger2008-02-201-4/+14
|
* findfs,mount: trivial build fix and whitespace fiexsDenis Vlasenko2008-02-192-6/+8
|
* support for mount by label (not yet tested)Denis Vlasenko2008-02-1839-3/+4601
| | | | | Also adds findfs applet. Closes bug 1143.
* mount: with -vv -f, say what mount() calls we were going to makeDenis Vlasenko2008-02-181-13/+24
| | | | | | 782357 728 7476 790561 c1021 busybox_old 782429 728 7476 790633 c1069 busybox_unstripped
* mount: optional support for -vv verbosityDenis Vlasenko2008-02-182-12/+57
| | | | | | | | | | | | | | | | | | 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
* mount: recognize "dirsync" (closes bug 835)Denis Vlasenko2008-02-181-0/+9
| | | | | | mount: sanitize environ if called by non-root *: adjust for slightly different sanitize routine
* libbb: introduce and use xrename and rename_or_warn.Denis Vlasenko2008-02-171-1/+1
|
* mount: make -f work even without mtab supportDenis Vlasenko2008-02-162-20/+42
| | | | | (Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
* libbb: introduce bb_signals and bb_signals_recursive,Denis Vlasenko2008-02-161-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* random s/short/int/Denis Vlasenko2008-02-164-14/+15
| | | | | | | | | add_cmd 1189 1190 +1 xconnect_ftpdata 118 117 -1 data_align 86 84 -2 process_files 2101 2096 -5 forkexec 1345 1334 -11
* we need to pass back the rtc device name that was actually used so that we ↵Mike Frysinger2008-02-152-8/+8
| | | | can turn around and check its sysfs status
* fix build failure when long opts are enabledMike Frysinger2008-02-151-11/+10
|
* split some rtc funcs out of hwclock and into an rtc header/lib so that the ↵Mike Frysinger2008-02-154-99/+232
| | | | new rtcwake applet as well as hwclock can utilize the same code
* umount: instead of non-standard -D, use -d with opposite meaningDenis Vlasenko2008-02-141-36/+37
| | | | | | | | | | | | | (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
* switch_root: stop at first non-option. Closes bug 1425.Denis Vlasenko2008-02-131-2/+2
|
* mkswap: fix help text to not lie about supported options.Denis Vlasenko2008-02-131-6/+39
| | | | | | mkswap: use uint32, not int, to match kernel. mkswap: optimization: use pre-zeroed buffer
* getpot: add support for "a+" specifier for nonnegative int parameters.Denis Vlasenko2008-02-101-19/+10
| | | | | | | | | | | | | 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
* mkswap: do not do extra seekDenis Vlasenko2008-02-033-3/+28
| | | | | mount: add another mount helper call method
* add support for renaming/relocating device nodesMike Frysinger2008-02-012-5/+52
|
* - be C99 friendly. Anonymous unions are a GNU extension. This change isBernhard Reutner-Fischer2008-01-291-1/+1
| | | | | size-neutral WRT -std=gnu99 and fixes several compilation errors for strict C99 mode.
* mount: allow and ignore _netdev optionDenis Vlasenko2008-01-291-0/+2
|
* *: move getopt reset code to better place(s)Denis Vlasenko2008-01-281-1/+8
|
* mkswap, readahead: stop using fdlength, it is reported to be unreliableDenis Vlasenko2008-01-271-2/+4
|
* - fix conflicting decls of syslog related facilitynames and prioritynames tablesBernhard Reutner-Fischer2008-01-271-1/+1
|
* fdisk: comment out unused functionDenis Vlasenko2008-01-251-0/+2
|
* fdisk: fix a case where break was reached only for DOS labelsDenis Vlasenko2008-01-241-3/+2
|
* as reported by George Boudreau, make sure we properly skip blank linesMike Frysinger2008-01-231-2/+6
|
* save a bit of code with *strchrnul = '\0' trickDenis Vlasenko2007-12-261-1/+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>)Denis Vlasenko2007-12-241-1/+1
| | | | | | | | | | | | *: 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
* umount: fix fallout from stack reduction changeDenis Vlasenko2007-12-241-2/+2
|
* perror_nomsg: don't print extra colonDenis Vlasenko2007-12-221-3/+3
| | | | | losetup: print name of loop device in error messages
* fix buglets found by randomconfigDenis Vlasenko2007-12-211-2/+2
|
* fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko2007-12-165-213/+225
| | | | | | | | (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
* mkfs.minix: add testsuite; disable code which makes images variableDenis Vlasenko2007-12-021-4/+3
|
* attack the biggest stack users:Denis Vlasenko2007-12-021-3/+21
| | | | | | | | | | | | | | | | | -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
* fix buglets found by randomconfigDenis Vlasenko2007-11-231-0/+1
|
* cleanup comments and coding style and rewrite the mdev.conf parser to use ↵Mike Frysinger2007-11-191-95/+98
| | | | common busybox functions and call strdup() less often ... saves a ~few hundred bytes
* hexdump: add hd alias, add -R optionDenis Vlasenko2007-11-182-19/+87
|
* dmesg,klogd: make code more readableDenis Vlasenko2007-11-161-26/+34
| | | | | | libbb: explain why we declare klogctl libbb: move defs around so that order makes more sense
* tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)Denis Vlasenko2007-11-131-4/+1
| | | | | | | | | readprofile: use xwrite function old new delta tr_main 679 677 -2 readprofile_main 1964 1944 -20
* umount: stop using excessive aounts of stack. Surprisingly,Denis Vlasenko2007-11-101-1/+2
| | | | | | | | code shrank a lot too function old new delta umount_main 751 640 -111
* readlink: realpath requires PATH_MAX, bb_common_bufsiz1 can be too smallDenis Vlasenko2007-11-101-2/+2
| | | | | umount: don't actually need char[2 * PATH_MAX] for realpath
* fbset: fix buglet where we were using wrong pointerDenis Vlasenko2007-11-063-6/+10
| | | | | | readahead: stop using stdio.h *: style fixes
* swaponoff: prevent arithmetic overflow (spotted by Paul Fox ↵Denis Vlasenko2007-11-051-1/+1
| | | | <pgf@brightstareng.com>)
* mount: size-optimize mount_options[] and nfs_errtbl[]Denis Vlasenko2007-10-291-60/+107
| | | | | | 777253 974 9676 787903 c05bf busybox_old 777209 974 9676 787859 c0593 busybox_unstripped
* mkswap: selinux support by KaiGai Kohei <kaigai@ak.jp.nec.com>Denis Vlasenko2007-10-191-1/+44
|