aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* volume_id/ext: detect ext4 tooDenys Vlasenko2012-05-181-4/+48
| | | | | | | | function old new delta volume_id_probe_ext 108 132 +24 Signed-off-by: Dees Troy<dees_troy@teamw.in> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix mode of creatred node if config file support is not configuredDenys Vlasenko2012-04-211-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2012-04-201-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hwclock: fix wrong comparison of time value (when it will overlow int)Denys Vlasenko2012-04-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Drop include/bb_linux_ext2_fs.h, use existing e2fsprogs/e2fs_defs.hDenys Vlasenko2012-04-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* umount: make -d always active, add -D to suppress itDenys Vlasenko2012-04-171-8/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Create and use our own copy of linux/ext2_fs.hDenys Vlasenko2012-04-131-7/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* work around linux/ext2_fs.h breakageDenys Vlasenko2012-04-121-0/+6
| | | | | | See https://bugzilla.kernel.org/show_bug.cgi?id=42986 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make xchroot do a chdir("/") after chrootDenys Vlasenko2012-03-081-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: if parameters are given, do not scan /devDenys Vlasenko2012-03-032-13/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: trim help textDenys Vlasenko2012-02-091-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: simple code shrink; expand help textDenys Vlasenko2012-02-091-16/+36
| | | | | | | | function old new delta packed_usage 28978 29184 +206 getopt_main 656 632 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: add a comment. no code changesDenys Vlasenko2012-02-061-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: do not install handlers for fatal signalsDenys Vlasenko2012-02-051-2/+6
| | | | | | For acpid, it's ok to die at once. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix wrong sizeofJavier Viguera2012-01-301-1/+1
| | | | | Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: better comments on termios manipulations. No code changes.Denys Vlasenko2012-01-151-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mke2fs: do not zero out first kilobyte. Closes 3247Denys Vlasenko2012-01-111-1/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: do not treat non-leading '#' chars as start of comment. Closes 4676Denys Vlasenko2012-01-111-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: close fds which are reported as dead (POLLERR/POLLHUP/POLLNVAL) by poll.Denys Vlasenko2012-01-091-19/+35
| | | | | | | | function old new delta acpid_main 1159 1229 +70 packed_usage 28977 28980 +3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: style fixes. no code changesDenys Vlasenko2011-12-151-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: make help text show [BLOCKDEV]...Denys Vlasenko2011-12-061-3/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id/get_devname: trivial code shrinkDenys Vlasenko2011-12-061-22/+19
| | | | | | | | | | | | function old new delta uuidcache_init 36 41 +5 get_devname_from_uuid 55 51 -4 get_devname_from_label 61 57 -4 display_uuid_cache 109 105 -4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/3 up/down: 5/-12) Total: -7 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: resolve hosts to IPs in nfs mountsDenys Vlasenko2011-11-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: make FEATURE_MOUNT_NFS not needed for Linux 2.6.23+Denys Vlasenko2011-11-102-9/+49
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: support -o noaclDave Love2011-11-101-22/+30
| | | | | Signed-off-by: Dave Love <fx@gnu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: handle list of comma-separated fs types in -t optionKarol Lewandowski2011-11-031-3/+12
| | | | | | | | | Allows one to specify list of filesystem types to be tried when mounting particular device. E.g. mount -t vfat,ext2 ... Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: free commented /etc/filesystems lines when we read itDenys Vlasenko2011-11-031-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove duplicate include <sys/swap.h>Denys Vlasenko2011-10-221-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: trim overlong comments. No code changesDenys Vlasenko2011-09-221-30/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: don't reparse rules on -sDenys Vlasenko2011-09-221-217/+341
| | | | | | | | | | | | function old new delta make_device 1648 1843 +195 clean_up_cur_rule - 61 +61 make_default_cur_rule - 41 +41 mdev_main 690 712 +22 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/0 up/down: 319/0) Total: 319 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add INIT_G()'s. No code changes.Denys Vlasenko2011-09-213-0/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: expand --help so that it's actually useful.Denys Vlasenko2011-09-193-67/+80
| | | | | | | function old new delta packed_usage 28634 28822 +188 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* losetup: implement -r option. Closes 4033.Denys Vlasenko2011-09-122-8/+10
| | | | | | | | | | function old new delta packed_usage 28595 28633 +38 losetup_main 285 290 +5 singlemount 906 908 +2 set_loop 674 672 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* swapoff: dont pass "p" in opt_complementaryDenys Vlasenko2011-08-131-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>