Package: coreutils Version: 8.25-2+b1 Followup-For: Bug #837810 Hello!, I find du buggy. I think it's taking International System of Units values as if they was binary values. An example:
# stat file.pdf File: 'file.pdf' Size: 160594 Blocks: 320 IO Block: 4096 regular file Device: 16h/22d Inode: 244351 Links: 1 Access: (0400/-r--------) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2016-12-06 11:59:56.810077679 +0100 Modify: 2016-12-06 11:59:54.640000084 +0100 Change: 2016-12-06 12:15:23.121852493 +0100 Birth: - # ls -l file.pdf -r-------- 1 root root 160594 Dec 6 11:59 file.pdf # LC_ALL=C du file.pdf 160 file.pdf # du --si file.pdf 164k file.pdf That is, I think it takes 160 kB as if it were 160 KiB. Best Regards, Manolo Díaz -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.8.11 (SMP w/2 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages coreutils depends on: ii libacl1 2.2.52-3 ii libattr1 1:2.4.47-2 ii libc6 2.24-7 ii libselinux1 2.6-3 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information -- Manolo Díaz

