busybox/util-linux
Denys Vlasenko 72fbc81224 fdisk: code shrink
function                                             old     new   delta
new_partition                                       1054    1066     +12
list_table                                          1366    1370      +4
update_units                                          32      35      +3
list_disk_geometry                                    68      71      +3
get_geometry                                         535     538      +3
fdisk_fatal                                           38      41      +3
warn_cylinders                                        42      44      +2
xbsd_print_disklabel                                 836     834      -2
create_doslabel                                      110     108      -2
change_units                                          49      45      -4
xbsd_new_part                                        477     456     -21
add_partition                                       1278    1246     -32
.rodata                                           107059  107008     -51
fdisk_main                                          4775    4618    -157
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 7/7 up/down: 30/-269)          Total: -239 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2026-02-04 12:03:33 +01:00
..
volume_id fdisk: several fixes for 4K sector size 2026-02-04 09:46:54 +01:00
acpid.c Update applet size estimates 2023-07-10 17:25:21 +02:00
blkdiscard.c fdisk: several fixes for 4K sector size 2026-02-04 09:46:54 +01:00
blkid.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
blockdev.c fdisk: several fixes for 4K sector size 2026-02-04 09:46:54 +01:00
cal.c Update applet size estimates 2023-07-10 17:25:21 +02:00
chrt.c chrt: support passing -p 0 to operate on self 2025-10-07 10:05:08 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
dmesg.c Update applet size estimates 2023-07-10 17:25:21 +02:00
eject.c eject: fix missing -s option in trivial usage 2025-11-08 07:42:34 +01:00
fallocate.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fatattr.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fbset.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fdformat.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fdisk.c fdisk: code shrink 2026-02-04 12:03:33 +01:00
fdisk_aix.c fdisk_aix: fix aliasing warning, comment out unused global variables 2019-10-04 17:16:15 +02:00
fdisk_gpt.c fdisk: code shrink 2026-02-04 12:03:33 +01:00
fdisk_osf.c fdisk: code shrink 2026-02-04 12:03:33 +01:00
fdisk_sgi.c fdisk: code shrink 2026-02-04 12:03:33 +01:00
fdisk_sun.c fdisk: code shrink 2026-02-04 12:03:33 +01:00
findfs.c findfs: tweak --help 2026-02-03 11:40:41 +01:00
flock.c Update applet size estimates 2023-07-10 17:25:21 +02:00
freeramdisk.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fsck_minix.c libbb: code shrink: introduce and use [_]exit_SUCCESS() 2022-01-05 22:16:06 +01:00
fsfreeze.c Update applet size estimates 2023-07-10 17:25:21 +02:00
fstrim.c Update applet size estimates 2023-07-10 17:25:21 +02:00
getopt.c Update applet size estimates 2023-07-10 17:25:21 +02:00
hexdump.c hexdump: accept hex numbers in -n, closes 16195 2024-10-08 04:23:29 +02:00
hexdump_xxd.c xxd: fix -pANYTHING handling (-pc50 does not mean -p -c50) 2025-11-30 06:13:15 +01:00
hwclock.c wget: fix compile warnings when WGET_FTP is not selected 2024-09-26 16:27:10 +02:00
ionice.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ipcrm.c Update applet size estimates 2023-07-10 17:25:21 +02:00
ipcs.c Update applet size estimates 2023-07-10 17:25:21 +02:00
Kbuild.src Convert all util-linux/* applets to "new style" applet definitions 2016-11-23 11:46:32 +01:00
last.c last: fix ignoring the first login entry 2025-11-08 07:42:34 +01:00
last_fancy.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
losetup.c Update applet size estimates 2023-07-10 17:25:21 +02:00
lsblk.c lkblk: list multiple MOUNTPOINTS 2026-01-30 21:16:30 +01:00
lspci.c libbb: much faster concat_path_file() 2025-08-04 19:21:45 +02:00
lsusb.c libbb: much faster concat_path_file() 2025-08-04 19:21:45 +02:00
mdev.c Update applet size estimates 2023-07-10 17:25:21 +02:00
mesg.c Update applet size estimates 2023-07-10 17:25:21 +02:00
minix.h more bionic fixes 2016-03-14 19:34:15 +01:00
mkfs_ext2.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
mkfs_ext2.txt mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir) 2009-10-22 12:12:17 +02:00
mkfs_ext2_test.sh fix more instances of ": $((a++))" in shell scripts 2017-07-15 19:20:45 +02:00
mkfs_minix.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_reiser.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
mkfs_vfat.c Update applet size estimates 2023-07-10 17:25:21 +02:00
mkswap.c uuidgen: move UUID formatting to libbb 2026-02-03 09:10:25 +01:00
more.c Update applet size estimates 2023-07-10 17:25:21 +02:00
mount.c Update applet size estimates 2023-07-10 17:25:21 +02:00
mountpoint.c Update applet size estimates 2023-07-10 17:25:21 +02:00
nologin.c nologin: make it possible to build it as single applet 2020-06-24 15:05:22 +02:00
nsenter.c nsenter,unshare: don't use xvfork_parent_waits_and_exits(), it SEGVs on ppc64le 2025-10-08 14:49:26 +02:00
pivot_root.c Update applet size estimates 2023-07-10 17:25:21 +02:00
rdate.c Update applet size estimates 2023-07-10 17:25:21 +02:00
rdev.c Update applet size estimates 2023-07-10 17:25:21 +02:00
readprofile.c Update applet size estimates 2023-07-10 17:25:21 +02:00
renice.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
rev.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
rtcwake.c Update applet size estimates 2023-07-10 17:25:21 +02:00
script.c Update applet size estimates 2023-07-10 17:25:21 +02:00
scriptreplay.c Update applet size estimates 2023-07-10 17:25:21 +02:00
setarch.c Update applet size estimates 2023-07-10 17:25:21 +02:00
setpriv.c Update applet size estimates 2023-07-10 17:25:21 +02:00
setsid.c Update applet size estimates 2023-07-10 17:25:21 +02:00
swaponoff.c Remove "select PLATFORM_LINUX" 2022-11-29 14:14:06 +01:00
switch_root.c Update applet size estimates 2023-07-10 17:25:21 +02:00
taskset.c nproc: prepare for arbitrarily large CPU masks 2024-05-31 11:58:48 +02:00
uevent.c Update applet size estimates 2023-07-10 17:25:21 +02:00
umount.c introduce and use exitcode_t 2023-07-17 17:29:36 +02:00
unshare.c nsenter,unshare: don't use xvfork_parent_waits_and_exits(), it SEGVs on ppc64le 2025-10-08 14:49:26 +02:00
uuidgen.c uuidgen: move UUID formatting to libbb 2026-02-03 09:10:25 +01:00
wall.c Update applet size estimates 2023-07-10 17:25:21 +02:00