aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.21.0 patches, bump version to 1.21.11_21_1Denys Vlasenko2013-06-292-103/+301
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix mode of dir1 in =dir1/dir2/file ruleDenys Vlasenko2013-01-211-2/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix -o user=foo mishandling, fix unc= generation, add prefixpath=Bernhard Reutner-Fischer2013-01-171-17/+35
| | | | | | | | | | | | | function old new delta singlemount 1019 1049 +30 packed_usage 29252 29257 +5 parse_mount_options 230 232 +2 mount_option_str 337 338 +1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 38/0) Total: 38 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: add unc option to CIFS mount (needed for Linux 3.4+)Martin Santesson2013-01-161-1/+15
| | | | | | | | unc option for CIFS mount is mandatory after CIFS option parsing was rewritten in Linux 3.4 Signed-off-by: Martin Santesson <martinsn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanup. no code changesDenys Vlasenko2013-01-149-45/+43
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Remove redundant 'config FEATURE_VOLUMEID_SQUASHFS'Denys Vlasenko2013-01-141-10/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: add squashfs detectionSven-Göran Bergh2013-01-144-0/+74
| | | | | | | | | function old new delta volume_id_probe_squashfs - 74 +74 fs1 12 16 +4 Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixes. no code changesDenys Vlasenko2013-01-1410-172/+172
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: uuid_format small code shrinkSven-Göran Bergh2013-01-142-20/+9
| | | | | | | | function old new delta volume_id_set_uuid 318 300 -18 Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: display hfs[+] 128-bit UUID properlySven-Göran Bergh2013-01-143-9/+23
| | | | | Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: add type display for hfsplusSven-Göran Bergh2013-01-141-1/+1
| | | | | Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dmesg: handle multi-char log levelsPeter Korsgaard2013-01-051-7/+6
| | | | | | | | | | | | | | | | Since Linux 3.5 (7ff9554bb5: printk: convert byte-buffer to variable-length record buffer), klog buffer can now contain log lines with multi-char loglevel indicators (<[0-9]+>) - So we can no longer just skip 3 bytes. Instead skip past the terminating '>' like util-linux does. function old new delta dmesg_main 266 280 +13 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 13/0) Total: 13 bytes Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* CONFIG_PID_FILE_PATH: new configuration option for pidfile pathsAnthony G. Basile2012-12-191-1/+1
| | | | | | | | | | | | | | | We set a default path for the directory where pidfiles are create when FEATURE_PIDFILE is selected. The default has no effect on applets which must specify a pidfile path on the command line to run, and it can be overridden by applets which optionally allow the user to specify the pidfile path. We also add pidfile write/remove support for klogd, ntpd and watchdog. For syslogd, we add a missing remove_pidfile() for better cleanup on daemon exit. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* volume_id: add exFAT detectionS-G Bergh2012-11-135-0/+145
| | | | | | | | function old new delta volume_id_probe_exfat - 294 +294 Signed-off-by: S-G Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: show filesystem when both label and UUID are missing, but type is knownS-G Bergh2012-11-051-1/+5
| | | | | Signed-off-by: S-G Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: add support for nilfs2Sven-Göran Bergh2012-09-025-0/+109
| | | | | | | | | function old new delta volume_id_probe_nilfs - 99 +99 fs2 52 56 +4 Signed-off-by: Sven-Göran Bergh <svengbergh-busybox@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id: code shrinkDenys Vlasenko2012-09-021-15/+19
| | | | | | | function old new delta volume_id_set_unicode16 200 173 -27 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* blkid: add type display for btrfsSven-Göran Bergh2012-09-021-0/+1
| | | | | Signed-off-by: Sven-Göran Bergh <svengbergh-busybox@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbset: respect rgba configuration lines in fb.modesLinus Walleij2012-07-071-1/+25
| | | | | | | | | | | | | | | | | | | | The fbset utility would not respect "rgba" config entries in the fb.modes file such as this (for the ARM Integrator/CP): mode "640x480-60-clcd" # D: 25.175 MHz, H: 31.469 kHz, V: 59.94 Hz geometry 640 480 640 480 16 timings 39722 48 16 33 10 96 2 rgba 5/10,5/5,5/0,1/15 endmode This is important especially for this ARGB5551 device which is hopeless to configure otherwise. I noticed this lacking feature after the TI "fbtest" program managed to set up the the colormode correctly. Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: add missing lid switch definitionEric Martin2012-07-071-0/+1
| | | | | | | | This patch adds a missing LID0 switch definition. Without it, closing the notebook lid is not detected by acpid. Signed-off-by: Eric Martin <eric.martin@gmx.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: support strictatime option. Closes 5240Denys Vlasenko2012-06-261-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: do not pass "comment=ANYTHING" option to kernel. Closes 5240Denys Vlasenko2012-06-221-2/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: undo recent breakage when mount flags were made unsignedDenys Vlasenko2012-06-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix the wrongly stored fs creation timeDenys Vlasenko2012-06-211-7/+4
| | | | | | This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: set up RO loop device if mount -o ro. Closes 4784Denys Vlasenko2012-06-211-14/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* volume_id/ext: use common bb_e2fs_defs.h for ext2/3/4 constants and structsDenys Vlasenko2012-06-121-67/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rdate: code shrinkDenys Vlasenko2012-06-111-11/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: tell kernel that we didn't find the firmwareChristoph Lohmann2012-05-191-17/+24
| | | | | | | | function old new delta mdev_main 797 801 +4 Signed-off-by: Christoph Lohmann <20h@r-36.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busyboxDenys Vlasenko2012-05-191-37/+14
|\
| * mdev: remove undocumented subsystem/devname matching hackDenys Vlasenko2012-05-181-29/+2
| | | | | | | | | | | | | | It was colliding with matching of devnames with slashes. We need a more generic way to examine env.vars in rules anyway. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mdev: when found, print major,minor into mdev.logDenys Vlasenko2012-05-181-8/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | tweak help textDenys Vlasenko2012-05-181-2/+2
|/ | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: add support for $DEVNAME and /dev/mdev.log debug aidDenys Vlasenko2012-05-181-20/+147
| | | | | | | | | | | | | | | function old new delta make_device 1843 2083 +240 mdev_main 712 804 +92 packed_usage 29236 29251 +15 keywords 288 19 -269 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 347/-269) Total: 78 bytes text data bss dec hex filename 887506 497 7584 895587 daa63 busybox_old 887982 497 7584 896063 dac3f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>