aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.19.0 patches, bump version to 1.19.11_19_1Denys Vlasenko2011-08-281-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-091-24/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: reinstate a short sleep between sync() and ioctl(BLKRRPART)Denys Vlasenko2011-07-131-25/+18
| | | | | | | | | While at it, simplify code a bit. function old new delta write_table 201 198 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more tweak for bionicDenys Vlasenko2011-07-082-0/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: use locale-specific date output formatDenys Vlasenko2011-07-081-10/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixesDan Fandrich2011-07-081-1/+1
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: better help textDenys Vlasenko2011-07-041-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbset: apply modelines. Closes 3823Denys Vlasenko2011-06-061-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove "Options:" string from help textsDenys Vlasenko2011-06-0523-30/+6
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* replace nonstandard unsigned typedefsDan Fandrich2011-06-031-7/+7
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix !ENABLE_FEATURE_GETOPT_LONG build. Closes 3775Denys Vlasenko2011-05-291-2/+4
| | | | | | | | | When compiling with !ENABLE_FEATURE_GETOPT_LONG, busybox still tries to include getopt.h which is not available; for example with uClibc when !UCLIBC_HAS_GETOPT_LONG. getopt.h is only required for the _long set of functions. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify parsing of /etc/busybox.confDenys Vlasenko2011-05-161-1/+1
| | | | | | | function old new delta parse_config_file 799 667 -132 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbset: abort on unknown options. closes 3121Denys Vlasenko2011-05-091-5/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: nonblock_safe_read->nonblock_immune_read, remove unused param of ↵Denys Vlasenko2011-05-081-1/+1
| | | | | | xmalloc_reads Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: for NFS use tcp per default rather than udpBernhard Reutner-Fischer2011-05-041-1/+1
| | | | | | | | nfs-utils's mount.nfs uses TCP per default unless explicitly asked for otherwise. This is also the expected behaviour for NFSv4, so ok there, too. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fdisk: backport disk check from util-linuxLauri Kasanen2011-04-301-7/+28
| | | | | | | | | | | | | With the digit check devices like mmcblk0 were skipped, but now with 0 allowed we're seeing a ton of loop devices listed (loop0, loop10, loop20...) as well as ramzswap0, all which should not be shown in fdisk -l. function old new delta list_devs_in_proc_partititons 157 238 +81 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make FDISK_SUPPORT_LARGE_DISKS redundant when LFS=yDenys Vlasenko2011-04-161-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move remaining help text from include/usage.src.hPere Orga2011-04-1136-1/+589
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add --rbind option supportRoman Borisov2011-03-261-0/+2
| | | | | Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: rprivate option fixRoman Borisov2011-03-261-1/+1
| | | | | | | fixed the mistake in writing for -make-rprivate option Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use user's shell instead of hardwired "/bin/sh" (android needs this)Denys Vlasenko2011-03-081-4/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more: fix tabs handlingDenys Vlasenko2011-03-071-3/+6
| | | | | | | function old new delta more_main 837 829 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: strip multiple trailing slashes, not just oneDenys Vlasenko2011-02-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: update /etc/mtab properly on mount --moveRoman Borisov2011-02-281-9/+67
| | | | | Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"Denys Vlasenko2011-02-261-27/+27
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: ignore unknown mount options when remounting NFS mountsPeter Korsgaard2011-02-261-0/+3
| | | | | | | | | | | | | | | Don't fail on unknown nfs mount options. The kernel automatically adds a few mount options that we don't currently handle, like: sec=null|sys|krb5.. mountaddr=<ip> mountproto=tcp|udp local_lock=none|all|flock|posix Which causes a simple mount -o remount,rw <mountpoint> to fail. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix wrong long option namessRoman Borisov2011-02-261-8/+8
| | | | | | | | | | Fixed the --make-shared, --make-rshared, ... etc. (--make-*) options in the mount command. Now parse_mount_options() may reasonably process such options. Fixed: http://lists.busybox.net/pipermail/busybox/2011-January/074511.html Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blockdev: add --getsz to replace --getsizeDan Fandrich2011-02-201-6/+18
| | | | | | | | | | | | function old new delta blockdev_main 255 273 +18 bdcommands 160 176 +16 packed_usage 28142 28107 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 34/-35) Total: -1 bytes Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reverted LINHIB0001 swap signature additionDenys Vlasenko2011-02-141-1/+0
| | | | | | | | see: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/683605 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: fix TMOUT not restoring tty attributesDenys Vlasenko2011-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | function old new delta pgetc 420 500 +80 readtoken1 3202 3239 +37 read_line_input 3316 3337 +21 udhcpc_main 2610 2630 +20 file_get 266 272 +6 expandarg 958 963 +5 localcmd 257 259 +2 addLines 85 87 +2 read_line 94 95 +1 ed_main 2540 2541 +1 timed_out 1 - -1 lineedit_read_key 256 255 -1 alrm_sighandler 44 - -44 cmdloop 539 434 -105 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 10/2 up/down: 175/-151) Total: 24 bytes text data bss dec hex filename 887379 936 17200 905515 dd12b busybox_old 887411 936 17192 905539 dd143 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2011-02-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk_osf: simplify ifdef (incidentally, adds support for Microblaze)Denys Vlasenko2011-01-311-9/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: implement --systzDavide Cavalca2011-01-221-5/+59
| | | | | | | | | | | | function old new delta hwclock_main 324 434 +110 packed_usage 28220 28259 +39 static.hwclock_longopts 53 60 +7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 156/0) Total: 156 bytes Signed-off-by: Davide Cavalca <davide@geexbox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-182-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* disable automatic selection of FEATURE_SUID; improve its help textDenys Vlasenko2011-01-181-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkswap: selinux build fixDenys Vlasenko2011-01-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* blkid: optional support for TYPE="fstype"Denys Vlasenko2010-12-3020-37/+83
| | | | | | Adapted from patch created by T4ndeta <t4ndeta@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: recognize compressed hibernate swap signatureJames Hunt2010-12-191-0/+1
| | | | | | | | | | | | util-linux/volume_id/linux_swap.c: Added the new magic LINHIB0001 signature. See: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/683605 Signed-off-by: James Hunt <james.hunt@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more: smaller version of previous fixDenys Vlasenko2010-12-131-3/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* more: exit if write to stdout errors outDenys Vlasenko2010-12-131-0/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* blkid: add TODODenys Vlasenko2010-11-251-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes for bugs discovered by randomconfig builds and testsDenys Vlasenko2010-11-221-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* umount: cleanup and code shrinkRob Landley2010-11-011-40/+7
| | | | | Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: fix trivial build failureDenys Vlasenko2010-10-301-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupDenys Vlasenko2010-10-292-9/+9
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: use _exit() in sighandlers; showkey: do not use exit-thru-sighandlerMarek Polacek2010-10-281-5/+9
| | | | | | | | | | | | While at it, make ESC sequences more readable; and removed check for isatty(stdin) in reset. Code shrink: text data bss dec hex filename 884771 936 17216 902923 dc70b busybox_old 884723 936 17216 902875 dc6db busybox_unstripped Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ipcrm: small code shrinkDenys Vlasenko2010-10-281-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: whitespace fixesDenys Vlasenko2010-10-2810-15/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: pass NULL, not "", as "data" to mount syscall if we have no optsAlexander Shishkin2010-10-281-12/+22
| | | | | | | | | When mounting a filesystem without any additional options (data parameter to the mount(2) syscall), pass NULL instead of an empty string like GNU mount does. This fixes, for example mounting cgroup fs with bbox mount. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crc32: cleanups, no code changesDenys Vlasenko2010-10-281-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>