tag 18965 notabug close 18965 stop On 11/06/2014 12:32 AM, philippe wrote: > Dear sir, > > I fund the following problem : The --block-size option of "du" gives a wrong > value : > > du -b firmware-7.7.0-amd64-i386-netinst.iso > 524288000 firmware-7.7.0-amd64-i386-netinst.iso > > du --block-size=2048 firmware-7.7.0-amd64-i386-netinst.iso > *256002 * firmware-7.7.0-amd64-i386-netinst.iso > > *256002 *is wrong - the right value is 25600
Perhaps the _usage_ is 4KiB more than the apparent size, to hold selinux or other extended attributes or something? Does this work as you expect? du --apparent-size --block-size=2048 firmware-7.7.0-amd64-i386-netinst.iso Marking as not a bug for now. thanks, Pádraig.
