aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fdisk: add handling of avr32. closes bug 555Denys Vlasenko2009-08-101-9/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scriptreplay: show help text if run with no argumentsDenys Vlasenko2009-07-191-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix mountpoint test to not prevemt mkfs_xxx from making image in any fileDenys Vlasenko2009-07-183-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: factor out date parsing (in preparation for touch -d)Denys Vlasenko2009-07-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | function old new delta parse_datestr - 391 +391 sha512_process_block128 1283 1310 +27 buffer_fill_and_print 179 196 +17 nexpr 826 840 +14 unzip_main 1931 1939 +8 popstring 134 140 +6 qrealloc 33 36 +3 builtin_umask 121 123 +2 evalvar 1365 1363 -2 changepath 194 192 -2 do_compress 1698 1688 -10 hwclock_main 340 329 -11 cmdputs 414 402 -12 identify 4343 4329 -14 date_main 1186 687 -499 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 7/7 up/down: 468/-550) Total: -82 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix fallout from BSD patchesDenys Vlasenko2009-07-101-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dmesg: try to detect buffer sizeDenys Vlasenko2009-07-101-12/+18
| | | | | | | | function old new delta dmesg_main 214 246 +32 Signed-off-by: Randy Robertson <rmrobert@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move libc related stuff out of platform.hDenys Vlasenko2009-07-087-14/+76
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: fix "df /"Denys Vlasenko2009-07-053-39/+25
| | | | | | | | | | | | | | | | | | | also, clean up mount checks in mkfs/fsck. function old new delta find_mount_point 243 261 +18 sha1_process_block64 497 510 +13 find_main 436 444 +8 display_speed 85 90 +5 df_main 795 793 -2 parse_command 1463 1460 -3 static.ignored_mounts 8 - -8 mkfs_minix_main 2962 2937 -25 fsck_minix_main 3065 2970 -95 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 4/4 up/down: 44/-133) Total: -89 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix dependencies of FEATURE_GETOPT_LONGDenys Vlasenko2009-07-041-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: be more permissive on errors (dont die): mdev -s users want thatDenys Vlasenko2009-07-021-3/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: set $MDEV correctly for renamed nodesDenys Vlasenko2009-07-021-37/+39
| | | | | | | | function old new delta make_device 1467 1502 +35 build_alias 78 - -78 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update a comment, no code changesDenys Vlasenko2009-06-271-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* device matching against UUIDs: do not try floppiesDenys Vlasenko2009-06-271-0/+7
| | | | | | | function old new delta uuidcache_check_device 255 292 +37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix the case when move rule deletes node with name == device_nameDenys Vlasenko2009-06-221-19/+17
| | | | | Signed-off-by: Jean Wolter <jw5@os.inf.tu-dresden.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: remove configuration for v0 supportDenys Vlasenko2009-06-191-10/+0
| | | | | | | | | mkswap hasn't had v0 support since commit d893b120bae5a9bdef4cfda2df5e62867d6b1cd0; it doesn't seem to make sense to offer it for configuration. Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: separate UUID featureDenys Vlasenko2009-06-192-1/+8
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-194-13/+20
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: support -i; pass through -f and -n to helpers as necessaryDenys Vlasenko2009-06-191-27/+46
| | | | | | | | | function old new delta mount_it_now 298 345 +47 singlemount 776 772 -4 Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: accidentally committed wrong patch. fix it upDenys Vlasenko2009-06-191-12/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: improve randomness of UUID generation set version/variant bitsDenys Vlasenko2009-06-191-4/+55
| | | | | | | function old new delta mkswap_main 317 410 +93 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: generate UUID if CONFIG_DESKTOP=y. +110 bytesDenys Vlasenko2009-06-181-3/+28
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* switch_root: allow /init to be a symlink; add doc (thanks Rob!)Denys Vlasenko2009-06-171-4/+93
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2009-06-091-3/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: reduce #ifdef forestDenys Vlasenko2009-06-053-47/+35
| | | | | | | | Remove unnecessary #if statements from the "more", "script", and "scriptreplay" commands. Bloatcheck says 0 bytes changed. Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add FAST_FUNC to function ptrs where it makes senseDenys Vlasenko2009-06-052-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta evalcommand 1195 1209 +14 testcmd - 10 +10 printfcmd - 10 +10 echocmd - 10 +10 func_exec 270 276 +6 echo_dg 104 109 +5 store_nlmsg 85 89 +4 pseudo_exec_argv 195 198 +3 dotcmd 287 290 +3 machtime_stream 29 31 +2 discard_stream 24 26 +2 argstr 1299 1301 +2 killcmd 108 109 +1 evalfor 226 227 +1 daytime_stream 43 44 +1 run_list 2544 2543 -1 lookupvar 62 61 -1 ipaddr_modify 1310 1309 -1 ... parse_stream 2254 2245 -9 evalpipe 356 347 -9 collect_if 210 197 -13 read_opt 869 851 -18 handle_dollar 681 658 -23 print_addrinfo 1342 1303 -39 iterate_on_dir 156 59 -97 print_route 1709 1609 -100 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 12/130 up/down: 74/-767) Total: -693 bytes text data bss dec hex filename 841748 467 7872 850087 cf8a7 busybox_old 841061 467 7872 849400 cf5f8 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* scriptreplay: new applet. +423 bytesDenys Vlasenko2009-05-194-20/+85
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: save 80 bytes by forced de-inliningDenys Vlasenko2009-05-131-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: document when kernel started accepting string as NFS optionsDenys Vlasenko2009-05-131-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: revert last wrong commitDenys Vlasenko2009-05-041-6/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: do not exit if user:group parse failed. closes bug 309.Denys Vlasenko2009-05-021-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix a case where we mangle device_path string and then use it.Denys Vlasenko2009-05-011-1/+4
|
* *: bb_error_msg's messages should not be capitalizedDenis Vlasenko2009-04-291-5/+5
|
* switch_root: move misplaced commentDenis Vlasenko2009-04-211-1/+1
|
* switch_root: improve behavior on error; improve help textDenis Vlasenko2009-04-211-28/+34
| | | | | *: make "can't execute '%s'" message uniform
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-215-24/+24
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* switch_root: print errno on failureDenis Vlasenko2009-04-211-1/+1
|
* mdev: enlarge inline documentationDenis Vlasenko2009-04-191-6/+22
|
* mdev: support $ENVVAR=regexDenis Vlasenko2009-04-191-27/+42
|
* mdev: Rob's #if forest removalDenis Vlasenko2009-04-191-178/+146
| | | | | *: remove superfluous conts in "f(type *const param)"
* acpid: prevent creation of zombiesDenis Vlasenko2009-04-181-2/+2
|
* mdev: add large comment, fix a buglet with subsystem and /sys/blockDenis Vlasenko2009-04-171-4/+42
|
* mdev: set mode, needed when device node already exists.Denis Vlasenko2009-04-161-0/+1
|
* mdev: change subsystem syntax from /subsystem to subsystem/devnameDenis Vlasenko2009-04-161-13/+15
|
* mdev: safer handling of $SUBSYSTEM in mdev -sDenis Vlasenko2009-04-141-7/+7
|
* randomconfig fixesDenis Vlasenko2009-04-141-3/+4
|
* mdev: add support for - "dont stop here" charDenis Vlasenko2009-04-131-82/+97
| | | | | | | | | function old new delta make_device 1340 1362 +22 packed_usage 26291 26299 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 30/0) Total: 30 bytes
* mdev: provide $SUBSYSTEM (by Vladimir)Denis Vlasenko2009-04-131-7/+26
| | | | | | | | | | function old new delta make_device 1265 1340 +75 dirAction 14 60 +46 mdev_main 676 695 +19 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 140/0) Total: 140 bytes
* mdev: fix a bug where \t is not treated as delimiter after [>|=PATH]Denis Vlasenko2009-04-131-1/+4
|
* mdev: make usage text more usefulDenis Vlasenko2009-04-131-17/+17
| | | | | | function old new delta packed_usage 26235 26291 +56
* mdev: ignore events with "$SUBSYSTEM" == "firmware" && "$ACTION" == "remove"Denis Vlasenko2009-04-131-10/+21
| | | | | | function old new delta mdev_main 665 676 +11