From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754894AbcAWUoR (ORCPT ); Sat, 23 Jan 2016 15:44:17 -0500 Received: from terminus.zytor.com ([198.137.202.10]:37366 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754267AbcAWUoP (ORCPT ); Sat, 23 Jan 2016 15:44:15 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <20160123202926.460b284f@lxorguk.ukuu.org.uk> References: <1453560913-134672-1-git-send-email-andriy.shevchenko@linux.intel.com> <1453560913-134672-4-git-send-email-andriy.shevchenko@linux.intel.com> <1453567445.2470.24.camel@HansenPartnership.com> <1453572775.2470.56.camel@HansenPartnership.com> <20160123202926.460b284f@lxorguk.ukuu.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap From: "H. Peter Anvin" Date: Sat, 23 Jan 2016 12:43:31 -0800 To: One Thousand Gnomes , James Bottomley CC: Andy Shevchenko , Andy Shevchenko , Matt Fleming , Thomas Gleixner , Ingo Molnar , linux-efi@vger.kernel.org, Rasmus Villemoes , Andrew Morton , "linux-kernel @ vger . kernel . org" , Robert Elliott Message-ID: <40C32307-990E-4143-B6BB-F7AEF6CFCC81@zytor.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On January 23, 2016 12:29:26 PM PST, One Thousand Gnomes wrote: >All a bit revisionist. Everyone else on the planet was upset about it >because it broke things like calculating bit density because the >prefixes >for the bit capacity are not in metric form. BIPM (keeper of the SI >units) never approved powers of two as an interpretation. IEC came into >line in 1999, ISO followed. > >Disk sizes have been decimal since at least the 1970s. The original IBM >10MB hard disc for example was 10MB not 10MiB. > >Powers of two are only validly referred to as KiB, MiB, GiB as of all >current standard body positions. Powers of 10 based units are kB, MB, >GB) > >(The best one is CD and DVD: DVD uses the proper definition, CD uses >MiB, >although given the multiple sector sizes and encodings on CD it's all >manure anyway) > >Alan Then there are oddball definitions like 1 MB = 1,024,000, which IBM used for disk for a long time. At least IEC tried to come up with a unambiguous way to denote these prefixes. It was less of an issue for kilo- since the binary prefix was always capitalized. -- Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.