aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apply post-1.18.1 patches, bump version to 1.18.21_18_2Denys Vlasenko2011-01-161-1/+1
| | | | 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>
* libbb: introduce and use common crc32 routineDenys Vlasenko2010-10-271-10/+3
| | | | | | | | | | | | | | | | | | function old new delta crc32_block_endian1 - 37 +37 crc32_block_endian0 - 34 +34 global_crc32_table - 8 +8 file_read 82 87 +5 gzip_main 211 214 +3 xz_crc32 40 35 -5 crc32_table 8 - -8 calculate_gunzip_crc 54 34 -20 lzo_crc32 54 25 -29 cksum_main 298 211 -87 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/4 up/down: 87/-149) Total: -62 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* powertop: new appletMarek Polacek2010-10-251-11/+0
| | | | | Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: initial stab at GPT partition supportKevin Cernekee2010-10-253-22/+268
| | | | | Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* umount: I forgot to change another PATH_MAX to 4096Denys Vlasenko2010-10-241-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* umount: do not (ab)use PATH_MAX as mntent buffer sizeDenys Vlasenko2010-10-241-4/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: code shrink (-81 bytes)Alexander Shishkin2010-10-221-41/+15
| | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dmesg: more correct skipping of <N>; use faster putchar for most outputDenys Vlasenko2010-10-191-7/+12
| | | | | | | function old new delta dmesg_main 246 291 +45 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: add config file and map fileSouf Oued2010-09-261-98/+208
| | | | | | | | | | | | | | | function old new delta acpid_main 434 1137 +703 find_action - 204 +204 f_evt_tab - 48 +48 packed_usage 27724 27755 +31 f_act_tab - 16 +16 process_event 126 - -126 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/0 up/down: 1002/-126) Total: 876 bytes Signed-off-by: Souf Oued <souf_oued@yahoo.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Again fix license line formatDenys Vlasenko2010-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* blockdev: code shrinkDenys Vlasenko2010-09-061-22/+34
| | | | | | | function old new delta blockdev_main 292 255 -37 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* blockdev: make "blockdev --rereadpt /dev/sda EXTRA_ARG" complain. +6 bytes.Denys Vlasenko2010-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* made 3 license strings to follow the usual form ("or later" bit is not changed!)Denys Vlasenko2010-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* blockdev: -2 bytesDenys Vlasenko2010-09-061-6/+9
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* tweak blockdev's help textDenys Vlasenko2010-09-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* blockdev: new appletSergey Naumov2010-09-061-0/+180
| | | | | | | | | | | | | | | | function old new delta blockdev_main - 287 +287 bdcommands - 160 +160 packed_usage 27203 27298 +95 applet_names 2297 2306 +9 applet_main 1352 1356 +4 applet_nameofs 676 678 +2 applet_install_loc 169 170 +1 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 558/0) Total: 558 bytes Signed-off-by: Sergey Naumov <sknaumov@gmail.com> Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* libbb: add xfstat functionDenys Vlasenko2010-08-315-9/+6
| | | | | | | | | | | | | | | | function old new delta xfstat - 25 +25 mkfs_ext2_main 2421 2423 +2 mkfs_reiser_main 1197 1194 -3 next 312 307 -5 ar_main 533 522 -11 mkfs_minix_main 2938 2924 -14 mkfs_vfat_main 1511 1495 -16 writeTarFile 272 255 -17 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/6 up/down: 27/-66) Total: -39 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* mkswap: clear 1st kilobyte. Closes bug 1831Denys Vlasenko2010-08-311-2/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-1643-44/+44
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: fix non-working device deletion, add a test for thatDenys Vlasenko2010-08-161-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: fix "see file License ..." - the file is named LICENSE (in uppercase)Denys Vlasenko2010-08-167-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-123-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fdisk: Add support for NDS32 architecture.Macpaul Lin2010-08-111-1/+2
| | | | | | | | NDS32 is a new architecture invented by Andestech.com. This patch add the support to fdisk utility. Signed-off-by: Macpaul Lin <macpaul@andestech.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Set HWCLOCK_ADJTIME_FHS to off by defaultDenys Vlasenko2010-08-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass cosmetic removal of extra empty lines. no code changesDenys Vlasenko2010-07-262-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mark Linux-specific configuration optionsJeremie Koenig2010-07-191-0/+27
| | | | | | | | PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* util-linux: move VOLUMEID to a submenuDenys Vlasenko2010-07-141-215/+220
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* acpid: old kernel headers compatDenys Vlasenko2010-07-121-1/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more: style fix. no code changesDenys Vlasenko2010-07-121-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2010-07-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use xfork() and xvfork()Pascal Bellard2010-07-041-4/+1
| | | | | | | | | | | | | | | | function old new delta launch_helper 170 169 -1 setup_heredoc 312 302 -10 handle_dir_common 367 354 -13 expand_vars_to_list 2456 2443 -13 open_transformer 89 74 -15 data_extract_to_command 439 423 -16 do_ipaddr 1406 1389 -17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-85) Total: -85 bytes Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* losetup: use LOOP_foo definesLauri Kasanen2010-07-041-2/+2
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mount: fix a case when sometimes error message is not printedDenys Vlasenko2010-06-271-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use bb_unsetenv_and_freeDenys Vlasenko2010-06-241-4/+2
| | | | | | | | | | | | | function old new delta bb_unsetenv_and_free - 17 +17 tcpudpsvd_main 1819 1810 -9 safe_setenv 58 47 -11 udhcp_run_script 630 616 -14 make_device 1683 1663 -20 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/4 up/down: 17/-54) Total: -37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rev: new appletMarek Polacek2010-06-221-0/+121
| | | | | | | | text data bss dec hexfilename 377 0 0 377 179rev.o Signed-off-by: Marek Polacek <mmpolacek@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: stop defining _GNU_SOURCE in source files, it's in CFLAGS anywayDenys Vlasenko2010-06-181-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Allow CONFIG_VOLUMEID to be turned offDan Fandrich2010-06-181-3/+3
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: improve comments a bitDenys Vlasenko2010-06-181-3/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkfs_ext2: reuse stringBernhard Reutner-Fischer2010-06-181-1/+1
| | | | | | | | | | function old new delta mkfs_ext2_main 2376 2378 +2 .rodata 135872 135848 -24 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 2/-24) Total: -22 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* mkfs_ext2: fix handling of -I argumentBernhard Reutner-Fischer2010-06-181-1/+1
| | | | | | -I <unsigned int> but was treated as a character Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *: add INSERTs to *.src files where appropriateDenys Vlasenko2010-06-083-0/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>