On Fri, Jul 31, 2009 at 01:47:04PM -0700, Daniel Moerner wrote: > > Now, the question is, should apt say there are 1024 bytes in a > kilobyte, or 1000? Apt currently does the latter and truncates this > to 10.4 MiB. I believe the former is more proper, and it should > reconvert this to 9.94 MiB. > Both tools behave correctly as defined in IEC 80000-13:2008, as 1 KiB are 1024 bytes and 1kB are 1000 bytes (1KiB != 1kB). But I guess we could also change APT to use IEC prefixes instead and divide by 1024.
-- Julian Andres Klode - Free Software Developer Debian Developer - Contributing Member of SPI Ubuntu Member - Fellow of FSFE Website: http://jak-linux.org/ XMPP: juli...@jabber.org Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/ Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
signature.asc
Description: Digital signature