GNU bug report logs - #50940
how df utility displays sizes - GB vs GiB

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: Danie de Jager <danie.dejager@HIDDEN>; dated Fri, 1 Oct 2021 15:02:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Oct 2021 15:02:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 01 11:02:00 2021
Received: from localhost ([127.0.0.1]:57103 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mWK2x-0006mW-U4
	for submit <at> debbugs.gnu.org; Fri, 01 Oct 2021 11:02:00 -0400
Received: from lists.gnu.org ([209.51.188.17]:59950)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <danie.dejager@HIDDEN>) id 1mWIaP-0003dk-Ch
 for submit <at> debbugs.gnu.org; Fri, 01 Oct 2021 09:28:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56992)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <danie.dejager@HIDDEN>)
 id 1mWIaO-0001YS-Fd
 for bug-coreutils@HIDDEN; Fri, 01 Oct 2021 09:28:25 -0400
Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:41475)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <danie.dejager@HIDDEN>)
 id 1mWIaN-0002lb-4h
 for bug-coreutils@HIDDEN; Fri, 01 Oct 2021 09:28:24 -0400
Received: by mail-pl1-x62b.google.com with SMTP id x8so6289343plv.8
 for <bug-coreutils@HIDDEN>; Fri, 01 Oct 2021 06:28:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=xNpA12B7H/DeVB1jpR6zGldwlrkNsNorJ2d0U3iwN+0=;
 b=OWtdXEc27y5tjYa/6utA/jBGG8h6vZVFBK+ZtB1pNC9G2y+wdjVlkWJNVxdv5D8u2q
 ka53DB/1gA219WF96LosMnPSH395ouuopmtSENXjFE8oSQNoBpGrFH9RAfPTAYtShBlF
 Y4+ARvFhTme3x2t6V4IZvztxu1/LFiNnpWgy9G8MrAy8g3rm6FN5F+x21wq81URlkW3I
 7mh7JQ/tR+WCxOfZzUlIu5fH/k9LGfG9fIS658ij16Cit755DF00HQbgpstFqXR6KC7N
 DwkDSqiuLfm8bUOWmbuoC++muZMIMl6eI9or0QsjSqEigVFqTRY5WRssH0R8N1LXmd9O
 c68A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=xNpA12B7H/DeVB1jpR6zGldwlrkNsNorJ2d0U3iwN+0=;
 b=J99luRY+wb9ML15oluLoj8TKQLIXItbiMP7i9HQLxKNa6LIyvEnEs7J7UKRwcQ4kz6
 1pQQTic+ILL0gQp5yM2Lwxeb1H7okMLM19L7PobKGcvKYQL6EJVuzKFP4OfTaPg2WyMR
 HhYm09lhPAp5YotQjDw9saVVE0p/kHNC8nV3FcPPGINjVaeCzjwgGR9UxyZqxQFYMyll
 LlHczQzPvLjmxbpbVoYNM7JnDYzjOgsQmcPNX6WJR4jra+fwsU25Ssu/lbRlKs5Xwgn+
 +kW9MZEEgouQrp+M+tw8PRUGySMg0mOPlFMF6oCCeNRYra2xc+BdJlVUPMnnn1N46wGo
 5FWQ==
X-Gm-Message-State: AOAM5310kB/I9TZigUadvp3AwOO0OCudPo37y1TFbiWTnuvH8zvOKPXu
 fNI8wQZPO9LtyzICZhujHj3Hoh73JzhlPBb+ZM+HM8NTH2c=
X-Google-Smtp-Source: ABdhPJwwCJn3KNX0kwuEeCK7/M0raEkfXreqBYWpvqPVMK0KyS+T2lXIB7JKkOjtngvuFeF7uPATDmv7GCHYVnfC0+4=
X-Received: by 2002:a17:90a:312:: with SMTP id
 18mr19902936pje.178.1633094900416; 
 Fri, 01 Oct 2021 06:28:20 -0700 (PDT)
MIME-Version: 1.0
From: Danie de Jager <danie.dejager@HIDDEN>
Date: Fri, 1 Oct 2021 15:28:10 +0200
Message-ID: <CA+Cexoj1rydKW++4h_gsDJo65Vm90MHmG=ij_brcDKQF+XP7Sw@HIDDEN>
Subject: how df utility displays sizes - GB vs GiB
To: bug-coreutils@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000006c824b05cd4a8913"
Received-SPF: pass client-ip=2607:f8b0:4864:20::62b;
 envelope-from=danie.dejager@HIDDEN; helo=mail-pl1-x62b.google.com
X-Spam_score_int: 6
X-Spam_score: 0.6
X-Spam_bar: /
X-Spam_report: (0.6 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 01 Oct 2021 11:01:59 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--0000000000006c824b05cd4a8913
Content-Type: text/plain; charset="UTF-8"

Hi,

The output from df -h and df -H is always G or M. Depending on who sends me
usage stats I have to ask how the command was run to make sure I calculate
usage correctly. Systems like Amazon EC2 use the explicit GiB suffix.
Making it easier to know what sizes you are looking at.

Can a future release of df not be improved to print out the GB or GiB?

Regards,
Danie

--0000000000006c824b05cd4a8913
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>The output from df -h and df -H is =
always G or M. Depending on who sends me usage stats I have to ask how the =
command was run to make sure I calculate usage correctly. Systems like Amaz=
on EC2 use the explicit GiB suffix. Making it easier to know what sizes you=
 are looking at.</div><div><br></div><div>Can a future release of df not be=
 improved to print out the GB or GiB?</div><div><br></div><div>Regards,</di=
v><div>Danie</div></div>

--0000000000006c824b05cd4a8913--




Acknowledgement sent to Danie de Jager <danie.dejager@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#50940; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 1 Oct 2021 15:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.