Enhancement request: by default, display digital sizes using a two-decimals fractional accuracy, e.g 1.32 GiB. Version-Release number of component: util-linux.x86_64 2.32.1-1.fc29 @anaconda Illustrated by command: # fdisk -lu /dev/sdc Disk /dev/sdc: 7.5 GiB, 8006901760 bytes, 15638480 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc1a364b8 Device Boot Start End Sectors Size Id Type /dev/sdc1 2048 15636479 15634432 7.5G 83 Linux
I have implemented support for this in upstream tree, but for now it's enabled for fdisk/sfdiks/cfdisk disk summary only. https://github.com/karelzak/util-linux/commit/39f37044b3146f222cda182494abd4ddb5217335 It looks unreadable in lists (SIZE columns). I'd like to keep the outputs to look like df (and so on).