GNU bug report logs -
#18965
--block-size option of "du" command gives a wrong value
Previous Next
Reported by: philippe <philippe_benezech <at> yahoo.fr>
Date: Wed, 5 Nov 2014 23:41:03 UTC
Severity: normal
Tags: notabug
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
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
I didn't find the same problem with the isosize command :
isosize firmware-7.7.0-amd64-i386-netinst.iso
524288000
isosize -x firmware-7.7.0-amd64-i386-netinst.iso
nombre de secteurs : *256000*, taille de secteur : 204
My configuration :
- Linux Asus 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux
- Paquet coreutils :
- i 8.13-3.5
Best regards
Philippe Bénézech
[Message part 2 (text/html, inline)]
This bug report was last modified 6 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.