This whitespace between columns in the table produced by df does not match that of GNU df.
GNU df:
$ df | head -n4
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3858016 0 3858016 0% /dev
tmpfs 782624 2112 780512 1% /run
/dev/mapper/vgubuntu-root 242791844 94907344 135481608 42% /
uutils df:
$ ./target/debug/df | head -n4
Filesystem 1k-blocks Used Available Use% Mounted on
udev 3858016 0 3858016 0% /dev
tmpfs 782624 2112 780512 0% /run
/dev/mapper/vgubuntu-root 242791844 94907356 147884488 39% /
It appears that the column width depends on the length of the largest entry in the column.
This whitespace between columns in the table produced by
dfdoes not match that of GNU df.GNU df:
uutils df:
It appears that the column width depends on the length of the largest entry in the column.