Description of problem: Conversions' results from data-storage values displayed as 1024-blocks into values in bits, do not match real sizes.
Version-Release number of component: coreutils-8.29-7.fc28.x86_64
How reproducible:
$ LANG=C df -P
Filesystem 1024-blocks Used Available Capacity Mounted on
(...)
/dev/mapper/fedora--live-root 153761232 6048548 139832392 5% /
Actual results: 1024 * 153 761 232 = 157 451 501 568 bits; result does not match the real size which is illustrated as output from the 'lsblk' command.
Expected results: df's outputs to be similar to the ones resulting from the 'lsblk' command – here 161 052 884 992 bits–
Additional info:
$ lsblk -b
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
(...)
├─fedora--live-root 253:0 0 161052884992 0 lvm /