From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: df --si misleading output units Resent-From: Kernc Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 27 Jul 2014 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 18119@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.140649258728747 (code B ref -1); Sun, 27 Jul 2014 20:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2014 20:23:07 +0000 Received: from localhost ([127.0.0.1]:39624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBUyI-0007Ta-Jm for submit@debbugs.gnu.org; Sun, 27 Jul 2014 16:23:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57905) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBTQg-00055f-0Q for submit@debbugs.gnu.org; Sun, 27 Jul 2014 14:44:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBTQa-0006Iy-5B for submit@debbugs.gnu.org; Sun, 27 Jul 2014 14:44:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBTQa-0006Ii-3I for submit@debbugs.gnu.org; Sun, 27 Jul 2014 14:44:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBTQZ-0002oI-DS for bug-coreutils@gnu.org; Sun, 27 Jul 2014 14:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBTQY-0006GM-8g for bug-coreutils@gnu.org; Sun, 27 Jul 2014 14:44:11 -0400 Received: from mail-qa0-x22e.google.com ([2607:f8b0:400d:c00::22e]:56235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBTQY-0006G2-5T for bug-coreutils@gnu.org; Sun, 27 Jul 2014 14:44:10 -0400 Received: by mail-qa0-f46.google.com with SMTP id v10so6914793qac.19 for ; Sun, 27 Jul 2014 11:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=MnIGZbT1v1akI1llJ08xsrd10I6K9I4FtE3qEj/mQsA=; b=BAnwTKszaxAv1dVR2AoIScQvrCWF+fKXESoqZy5kyMcJ1dxntNCsnXXoZsPXQnUvQ5 vR7qnQgnntaVxPf70cUq/GRXoCajCjdQedRbecean3S2EXe7lvZ4ga5G67Toh+m54DN/ gPfeXsgxsjnpzf2qwjhnGVeXxiWrjNUFebJ2y4cKxj/23XBZZPsBF29gmYBF9vK2Ddlb LvqFitcHg4Ye3344dYHqVAdzcCX5BdhhZQz58qu7KF158ltdpeGz3R2Ung/USHfubMVT 8mwefDefRZj/N6N6PPKTLXfVsPGy6/JB8QsEwuybWhxN2yBR5NiGZ1j2WSpIn/Dkfu+a gl6w== X-Received: by 10.224.156.145 with SMTP id x17mr50698856qaw.49.1406486649487; Sun, 27 Jul 2014 11:44:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.32.65 with HTTP; Sun, 27 Jul 2014 11:43:29 -0700 (PDT) From: Kernc Date: Sun, 27 Jul 2014 20:43:29 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Sun, 27 Jul 2014 16:23:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hi, By example, $ df --human-readable /dev/sdb2 Filesystem Size Used Avail Use% Mounted on /dev/sdb2 82G 66G 12G 86% /home $ df --si /dev/sdb2 Filesystem Size Used Avail Use% Mounted on /dev/sdb2 88G 71G 13G 86% /home In both cases, the output unit presented is G(iB) whereas a power-of-1000 unit (GB) was requested in the latter invocation. From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: df --si misleading output units Resent-From: Bob Proulx Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sun, 03 Aug 2014 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Kernc Cc: 18119@debbugs.gnu.org Received: via spool by 18119-submit@debbugs.gnu.org id=B18119.14071007614719 (code B ref 18119); Sun, 03 Aug 2014 21:20:02 +0000 Received: (at 18119) by debbugs.gnu.org; 3 Aug 2014 21:19:21 +0000 Received: from localhost ([127.0.0.1]:56328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XE3BY-0001E3-Up for submit@debbugs.gnu.org; Sun, 03 Aug 2014 17:19:21 -0400 Received: from joseki.proulx.com ([216.17.153.58]:41195) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XE3BW-0001Dt-1Z for 18119@debbugs.gnu.org; Sun, 03 Aug 2014 17:19:18 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id E6E2D21835; Sun, 3 Aug 2014 15:19:16 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id B9D8F2DC3A; Sun, 3 Aug 2014 15:19:16 -0600 (MDT) Date: Sun, 3 Aug 2014 15:19:16 -0600 From: Bob Proulx Message-ID: <20140803151050764193028@bob.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Kernc wrote: > By example, > > $ df --human-readable /dev/sdb2 > Filesystem Size Used Avail Use% Mounted on > /dev/sdb2 82G 66G 12G 86% /home > $ df --si /dev/sdb2 > Filesystem Size Used Avail Use% Mounted on > /dev/sdb2 88G 71G 13G 86% /home > > In both cases, the output unit presented is G(iB) whereas a > power-of-1000 unit (GB) was requested in the latter invocation. Saying "G" does not specify either GiB nor GB. It specifies the magnitude in the unit requested. Saying that it specifies GiB in both cases is incorrect. If SI powers of ten units were requested then that is emitted. If human readable powers of two units were requested then that is emitted. Bob From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: df --si misleading output units Resent-From: Kernc Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 04 Aug 2014 13:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Bob Proulx Cc: 18119@debbugs.gnu.org Received: via spool by 18119-submit@debbugs.gnu.org id=B18119.140715916010992 (code B ref 18119); Mon, 04 Aug 2014 13:33:02 +0000 Received: (at 18119) by debbugs.gnu.org; 4 Aug 2014 13:32:40 +0000 Received: from localhost ([127.0.0.1]:56891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEINS-0002rD-Rk for submit@debbugs.gnu.org; Mon, 04 Aug 2014 09:32:40 -0400 Received: from mail-qa0-f48.google.com ([209.85.216.48]:53105) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEINM-0002qr-7b for 18119@debbugs.gnu.org; Mon, 04 Aug 2014 09:32:33 -0400 Received: by mail-qa0-f48.google.com with SMTP id m5so6861015qaj.35 for <18119@debbugs.gnu.org>; Mon, 04 Aug 2014 06:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Nk3X/Tdb8+TpCgel/x1fvqwV45fRh+994sRMTWdLvtw=; b=AiukUGMuIV84SEIW3v0ZA5HLcFXCiF84wTf0b4Tdi/8O7S3Xyg6K2yEn63TjdQAou+ HBEBwQ/WoWQ5YCDgvpsIW7YdGvaGEyctcWdRMEYaLfDoYx9Wco7Mwg5MYm8rqJ092axw 7POkUDgmGWOfdkzQCm+GbXndoEs0jR0UezEN6fHcqKXb/WMoHtwHW95IQEQVSZpB7ekQ dwWKAM3MYYfe7ILT2eKR0HdE/nb1ECKaJ/59vu67mk5qxrhp5MridyRHT1oU9XyRs/W9 G3u/k/3+DvMx/5WfJiiVauCwpLvpQqm/+/vCHoFxUygWsuUksufCfZ4QEC2sOjVDObDF 84JQ== X-Received: by 10.224.55.131 with SMTP id u3mr36492827qag.98.1407159145987; Mon, 04 Aug 2014 06:32:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.32.65 with HTTP; Mon, 4 Aug 2014 06:31:45 -0700 (PDT) In-Reply-To: <20140803151050764193028@bob.proulx.com> References: <20140803151050764193028@bob.proulx.com> From: Kernc Date: Mon, 4 Aug 2014 15:31:45 +0200 Message-ID: Content-Type: multipart/alternative; boundary=047d7bdca88a0a04ed04ffcdc5ef X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --047d7bdca88a0a04ed04ffcdc5ef Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I understand. It does not specify the value in GiB, but the unit presented - you say it's only magnitude, I'm calling it unit here=C2=B9 =E2=80=93 is = G, which implies GiB, which makes it completely ambigous with regard to the output unit of e.g. `--block-size=3DG` switch. Please compare: $ df --human-readable /dev/sdb2 | tail -1 /dev/sdb2 82G 67G 12G 86% /home $ df --block-size=3DG /dev/sdb2 | tail -1 /dev/sdb2 82G 67G 12G 86% /home $ df --si /dev/sdb2 | tail -1 /dev/sdb2 88G 71G 12G 86% /home $ df --block-size=3DGB /dev/sdb2 | tail -1 /dev/sdb2 88GB 71GB 12GB 86% /home Since `--block-size=3DGB` outputs the value in GB, and 'GB' is the unit appended, why doesn't `--si` do the same (use SI-units to mark "SI-magnitude" values)? =C2=B9: Units are defined by order of magnitude prefix (e.g. G) and of base= unit (e.g. B). In our example, if the program only supplies the magnitude and lets the common base unit be inferred, one gets 'GB' for `--si`. Which is correct. But what other unit of can one thus construct when using `-h` switch? --047d7bdca88a0a04ed04ffcdc5ef Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I understand. It does not specify the value in GiB, b= ut the unit presented - you say it's only magnitude, I'm calling it= unit here=C2=B9 =E2=80=93 is G, which implies GiB, which makes it complete= ly ambigous with regard to the output unit of e.g. `--block-size=3DG` switc= h.

Please compare:

$ df --human-readable /dev/sdb2 | tail -1
/de= v/sdb2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 82G=C2=A0=C2=A0 67G=C2=A0= =C2=A0 12G=C2=A0 86% /home
$ df --block-size=3DG /dev/sdb2 | tail -1
= /dev/sdb2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= 82G=C2=A0=C2=A0 67G=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 12G=C2=A0 86% /hom= e
$ df --si /dev/sdb2 | tail -1
/dev/sdb2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 88G=C2=A0=C2=A0 71G=C2= =A0=C2=A0 12G=C2=A0 86% /home
$ df --block-size=3DGB /dev/sdb2 | tail -1=
/dev/sdb2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 88GB=C2=A0 71GB=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 12GB=C2=A0 86% /home
Since `--block-size=3DGB` outputs the value in GB, and = 9;GB' is the unit appended, why doesn't `--si` do the same (use SI-= units to mark "SI-magnitude" values)?

=C2=B9: Units are defined by order of magnitude prefix (e.g.= G) and of base unit (e.g. B). In our example, if the program only supplies= the magnitude and lets the common base unit be inferred, one gets 'GB&= #39; for `--si`. Which is correct. But what other unit of can one thus con= struct when using `-h` switch?
--047d7bdca88a0a04ed04ffcdc5ef-- From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: df --si misleading output units Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 04 Aug 2014 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Kernc , Bob Proulx Cc: 18119@debbugs.gnu.org Received: via spool by 18119-submit@debbugs.gnu.org id=B18119.140716128914743 (code B ref 18119); Mon, 04 Aug 2014 14:09:02 +0000 Received: (at 18119) by debbugs.gnu.org; 4 Aug 2014 14:08:09 +0000 Received: from localhost ([127.0.0.1]:57381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEIvp-0003pj-1U for submit@debbugs.gnu.org; Mon, 04 Aug 2014 10:08:09 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:40987) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEIvn-0003pE-2M for 18119@debbugs.gnu.org; Mon, 04 Aug 2014 10:08:07 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id BE96BA60005; Mon, 4 Aug 2014 07:08:00 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0PsNrY7-3j7U; Mon, 4 Aug 2014 07:07:52 -0700 (PDT) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0E5E939E801C; Mon, 4 Aug 2014 07:07:52 -0700 (PDT) Message-ID: <53DF93AF.5020109@cs.ucla.edu> Date: Mon, 04 Aug 2014 07:07:43 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 References: <20140803151050764193028@bob.proulx.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Kernc wrote: > Since `--block-size=GB` outputs the value in GB, and 'GB' is the unit > appended, why doesn't `--si` do the same (use SI-units to mark > "SI-magnitude" values)? Because it's more concise that way, and because it's been that way for years. No doubt it could have been done differently, but at this point ... From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: df --si misleading output units Resent-From: Kernc Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 04 Aug 2014 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Paul Eggert Cc: 18119@debbugs.gnu.org, Bob Proulx Received: via spool by 18119-submit@debbugs.gnu.org id=B18119.140717103230509 (code B ref 18119); Mon, 04 Aug 2014 16:51:01 +0000 Received: (at 18119) by debbugs.gnu.org; 4 Aug 2014 16:50:32 +0000 Received: from localhost ([127.0.0.1]:57500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XELSy-0007w1-87 for submit@debbugs.gnu.org; Mon, 04 Aug 2014 12:50:32 -0400 Received: from mail-qa0-f54.google.com ([209.85.216.54]:58441) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XELSu-0007vk-OE for 18119@debbugs.gnu.org; Mon, 04 Aug 2014 12:50:29 -0400 Received: by mail-qa0-f54.google.com with SMTP id k15so7048686qaq.41 for <18119@debbugs.gnu.org>; Mon, 04 Aug 2014 09:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=bvUE5qm9xgA6XUm5RDNHPPRZr81GJnOFB67qOip23VY=; b=y/fOGV3lgAAVEjcFJ9J3oS1K/DV3fl/1AGxvTedhqf3yQ746LAn3DFQUdeQkbpFoSa oOZzutGwtfhJXKwIm8XPtDQZ3nSYbrxHM+m2/g+zza2gUySIYy7Mwf67rULQJANm3dfL GH9YcqTsDgFXh1nG8UCeaEQyaPtnUU/zeN4eN8zihYkwmC5kl2qK990SJMfambZQCs/A NHNPdmFgIIX2oldkWa4oJB4Dn0qUIQxAGyLlb4bM11EjCLNDdBSWr+MxoeeP+yrgR1S2 bmtuYm7wrkh8cz66vyIF9Z1RepXOWFh0l0yrNQhm2jPjsvRgXeij1h7XUKF0Rod0od4T 7X6w== X-Received: by 10.229.73.70 with SMTP id p6mr24135949qcj.13.1407171023172; Mon, 04 Aug 2014 09:50:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.32.65 with HTTP; Mon, 4 Aug 2014 09:49:43 -0700 (PDT) In-Reply-To: <53DF93AF.5020109@cs.ucla.edu> References: <20140803151050764193028@bob.proulx.com> <53DF93AF.5020109@cs.ucla.edu> From: Kernc Date: Mon, 4 Aug 2014 18:49:43 +0200 Message-ID: Content-Type: multipart/alternative; boundary=001a11c2bd34f97db704ffd088e8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c2bd34f97db704ffd088e8 Content-Type: text/plain; charset=UTF-8 The maturity of bugs is always a valid reason not to fix them. And "Unix" is being phased out soon anyway. --001a11c2bd34f97db704ffd088e8 Content-Type: text/html; charset=UTF-8
The maturity of bugs is always a valid reason not to fix them. And "Unix" is being phased out soon anyway.
--001a11c2bd34f97db704ffd088e8-- From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: Confirmed References: In-Reply-To: Resent-From: Filipus Klutiero Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 13 Sep 2014 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 18119@debbugs.gnu.org, 18119-subscribe@debbugs.gnu.org Received: via spool by 18119-submit@debbugs.gnu.org id=B18119.141063269910977 (code B ref 18119); Sat, 13 Sep 2014 18:25:02 +0000 Received: (at 18119) by debbugs.gnu.org; 13 Sep 2014 18:24:59 +0000 Received: from localhost ([127.0.0.1]:40403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSs0I-0002qt-SR for submit@debbugs.gnu.org; Sat, 13 Sep 2014 14:24:59 -0400 Received: from mail-qa0-f48.google.com ([209.85.216.48]:32875) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSrov-0002YN-G6; Sat, 13 Sep 2014 14:13:14 -0400 Received: by mail-qa0-f48.google.com with SMTP id v10so2155307qac.7 for ; Sat, 13 Sep 2014 11:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=sJje2zmD4LsJCpFxWfjWuE1BP09lRIyCWEht3RlwlTQ=; b=gywgHLb2yYiogW+jUIxOTtrWF98UJgvkI+V2lrk7MBGxkqIecPRcoIet6l0yowxI/K 9qlEd+CfEWsi3LJdNNVfB5lhg3QTCmeWKFt0BRQ8e1dUDKGHE2goDnpg3jRMSGfbUXSU b6Wk0wpQquYkhXUm5V3XJDitKcLecxp6YrgYuJDvSLz0Ow2QRCKO9lBrJzdGiGBbITwg 42WpHhDHTF+aeCv5dVFL0Y/Uj8RiReRLTiyVHG1tuuSe9RSev/txiOBq3Z/nywQOq2ws LucojgHdlrqt6XV99hcEp6IHtKJZTg6VERWJ6iJebklf9wr+4pxEbPHKMe6SzEhjB9cS zoNg== X-Received: by 10.229.121.7 with SMTP id f7mr23462317qcr.28.1410631993087; Sat, 13 Sep 2014 11:13:13 -0700 (PDT) Received: from [192.168.1.9] (modemcable208.175-163-184.mc.videotron.ca. [184.163.175.208]) by mx.google.com with ESMTPSA id s5sm5756790qan.11.2014.09.13.11.13.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Sep 2014 11:13:12 -0700 (PDT) Message-ID: <54148938.5000307@gmail.com> Date: Sat, 13 Sep 2014 14:13:12 -0400 From: Filipus Klutiero User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sat, 13 Sep 2014 14:24:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I confirm. info says: > With human-readable formats, output sizes are followed by a size > letter such as ‘M’ for megabytes. ‘BLOCK_SIZE=human-readable’ uses > powers of 1024; ‘M’ stands for 1,048,576 bytes. ‘BLOCK_SIZE=si’ is > similar, but uses powers of 1000 and appends ‘B’; ‘MB’ stands for > 1,000,000 bytes. There is at least a documentation bug, but in my book a bug in the output. "82G" is not a size. -- Filipus Klutiero http://www.philippecloutier.com From unknown Mon Sep 08 08:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18119: df --si misleading output units Resent-From: Assaf Gordon Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 20 Oct 2018 03:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18119 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 18119@debbugs.gnu.org Received: via spool by 18119-submit@debbugs.gnu.org id=B18119.15400075831154 (code B ref 18119); Sat, 20 Oct 2018 03:54:02 +0000 Received: (at 18119) by debbugs.gnu.org; 20 Oct 2018 03:53:03 +0000 Received: from localhost ([127.0.0.1]:60161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDiJy-0000IS-NF for submit@debbugs.gnu.org; Fri, 19 Oct 2018 23:53:02 -0400 Received: from mail-pl1-f179.google.com ([209.85.214.179]:35994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDiJv-0000Hs-Q4; Fri, 19 Oct 2018 23:53:00 -0400 Received: by mail-pl1-f179.google.com with SMTP id y11-v6so16662475plt.3; Fri, 19 Oct 2018 20:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=90YJqEPqtiSARMu6cn/8PoodUMmJF6FTd48UslzR6Jo=; b=NdHmsCvA96xCRh9lBZpB94vGcBnLPDScsyGyMnkuEhsiFgbVJjQtDftbbiBa5AijFX 88cHGrWAjLYj+LnsMBGZ0nkSKashoLuv5wz8AbXg0H6D0h0BSRvCHuj+dM7BW/5tVO7R UAlRQxS+GlqWoOxcnu6cw2Oc3l0AF6mSfv+z9rmlWJ462s6Mbbp4Xh42n3wTB81siYl8 u39Prz3uS9EE/DvhyUSJe4hWIlgcLCwKIqtHhuH8bg4N2vfX5aXkNcrs68WLI9RJ870B DvcrhBeO0Zt2ed0ROW9/2xr3AuzzpwtgaS+Z9S6uy6Xj1xfi3tC+fWjIiYgj3P4c5zpb lU5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=90YJqEPqtiSARMu6cn/8PoodUMmJF6FTd48UslzR6Jo=; b=CMLetr9iFq2qGVGfU1Y7eQAA6jowhXoNDIjyz6BoJAVrbMv+Ty5IGAj8lcU4lItjsD z1YqO9i1JxctKz8SsSeR83WrJ5ZHNtgBpfDNf/kRDYcpxZqcEM0UIKz2ZLlkH2lCkVDo yu7izUemqaqOUXfr3q3ePngPVCf4uV3iruqD2M65bG6PhI1iHu5VBBppk2Li+Auq03Iz R/WsF64aT/ZCBNqvX4a+cJ3E1VerPeoug+imxCLodFFMdbbI8mqsNITSj7A4u269EiiA mB1Hku2FcGq6SjwqLfKW4XcU7KbcMelwJuhEj9zkVoUgrVrq59ziHifsDTK3ixfQjZUO 3CXQ== X-Gm-Message-State: ABuFfogu9z9zBVOeLrOtjnVj8uUVlIv27obHIUvadqDKD4r4YAS+zVYU Jqe6rNypMqACW5zDzcSGFjEb6QkxzCg= X-Google-Smtp-Source: ACcGV607WK7VQ7KufkaU28e/XpI0FaKvnSazs7ZXC4S1Oyv9lJWhlQrFphw2gNjQfvdH3tyA9sIhDg== X-Received: by 2002:a17:902:788d:: with SMTP id q13-v6mr35037067pll.329.1540007573133; Fri, 19 Oct 2018 20:52:53 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id f10-v6sm25317842pgp.72.2018.10.19.20.52.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Oct 2018 20:52:51 -0700 (PDT) References: <20140803151050764193028@bob.proulx.com> <53DF93AF.5020109@cs.ucla.edu> From: Assaf Gordon Message-ID: <8fc25b2c-2cbe-d592-28bf-545a0978cd0f@gmail.com> Date: Fri, 19 Oct 2018 21:52:50 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <53DF93AF.5020109@cs.ucla.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18119 wontfix severity 18119 wishlist close 18119 stop (triaging old bugs) On 04/08/14 08:07 AM, Paul Eggert wrote: > Kernc wrote: >> Since `--block-size=GB` outputs the value in GB, and 'GB' is the unit >> appended, why doesn't `--si` do the same (use SI-units to mark >> "SI-magnitude" values)? > > Because it's more concise that way, and because it's been that way for > years.  No doubt it could have been done differently, but at this point ... Note that in the meantime coreutils gained a new program: "numfmt". This program performs unit conversions with much finer control, including GiB and GB and others. "numfmt --help" even includes the following examples: --- $ df -B1 | numfmt --header --field 2-4 --to=si --- Given the above, and with no further comments in 4 years, I am closing this report. -assaf From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 09 14:43:49 2021 Received: (at control) by debbugs.gnu.org; 9 Mar 2021 19:43:49 +0000 Received: from localhost ([127.0.0.1]:48000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiGi-0001YS-SH for submit@debbugs.gnu.org; Tue, 09 Mar 2021 14:43:49 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:35594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiGg-0001YF-JN for control@debbugs.gnu.org; Tue, 09 Mar 2021 14:43:47 -0500 Received: by mail-wm1-f49.google.com with SMTP id c76-20020a1c9a4f0000b029010c94499aedso7739145wme.0 for ; Tue, 09 Mar 2021 11:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=TGpBwkvCZmuXFpS/8wA/beaeCrkI+KaQQH2eMKtEG40=; b=Aam73qvzMTK4yuHaXM9cIEiPbDk4+/4dOg0lP39/jCKYEKA68ntMKdCiT2T/qjO1AL luUWDi2qYEwH9J8BHSI0da/LvqgJ33rR7LbMlHPrycaqH0HH3HA10DZJWv2LhepKtao9 b1RprqLcem0/XgR0LsTOPHknpecrAbcs1VZtJJhgpnu8jgHpGNz96sue2UKFT3yJ+gy3 OoHgWFvC0RqAN+o96C5yKu6CF6MXByexPoszsm1D5iZoSxemXmq9BjkYwLp1RW5CE6u6 IVE30nsVfDk6PAYLKFuNwJr0l57S673i/SLTG49TESSG8w8aLAuR10O/rWiPImi7eUqK k4HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=TGpBwkvCZmuXFpS/8wA/beaeCrkI+KaQQH2eMKtEG40=; b=YDO5HyiDu2oG0CIuRUucgrrPh3r2NeIFaqK/IdU0dBcRcqbEqpWnnDYr6ypRTXPUrN 5WZIvSgrKN4ZY2B30pdXD6PWTM1dIo/ATc+v6gZhu/F0840WB7wfXvVSKtto98lYEcm6 JrGgEasJXjZc833fGzBVoePWQZX2FaZ6g7+s+shDbC+r/xtTaGzXhRkt465w8nlJDUUH mbiKhBaYLFG73t/LCYbubPV6L5EmqruvT6Xe6uOR8EhvDdOlM0q/bihwNm6lgnsdUypw nzW1tKir+lepdMj7ZpSykKwbdtgeJkq5+GV0AVmkXv7AEooP+irdPP9d2AKkKClbVcP4 p7Ow== X-Gm-Message-State: AOAM533fkVSKX5ttCNZhSVySgf+3qrY5dY7ac6bZLDxz0Iq7j79fZPf9 fZNusTIVpH0qj5z2QeTfehN3SwmQ+Z5AcQ== X-Google-Smtp-Source: ABdhPJy1urAaI8N0isBN9HoP+ilqHCgTW11kDE5FrXIccBFPlYt47TLH2ENRnIOEcI+jxt4XHlzZ5w== X-Received: by 2002:a1c:9d51:: with SMTP id g78mr5980768wme.5.1615319020299; Tue, 09 Mar 2021 11:43:40 -0800 (PST) Received: from localhost.localdomain (86-42-14-227-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.42.14.227]) by smtp.googlemail.com with UTF8SMTPSA id a3sm24309816wrt.68.2021.03.09.11.43.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Mar 2021 11:43:39 -0800 (PST) To: GNU bug tracker automated control server From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: Date: Tue, 9 Mar 2021 19:43:38 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 18119 Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pixelbeat[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.49 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 18119 Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.49 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.49 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pixelbeat[at]gmail.com) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 TVD_SPACE_RATIO No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different unarchive 18119 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 09 14:51:55 2021 Received: (at control) by debbugs.gnu.org; 9 Mar 2021 19:51:55 +0000 Received: from localhost ([127.0.0.1]:48005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiOY-0003os-NS for submit@debbugs.gnu.org; Tue, 09 Mar 2021 14:51:54 -0500 Received: from mail-wm1-f42.google.com ([209.85.128.42]:40683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJiOW-0003ob-LA; Tue, 09 Mar 2021 14:51:53 -0500 Received: by mail-wm1-f42.google.com with SMTP id y124-20020a1c32820000b029010c93864955so7763522wmy.5; Tue, 09 Mar 2021 11:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+u57h7D0zp9RE90dI+Sf4Pcm7A2WFOtM44NYXmK4ynU=; b=UpjI0AscDNBn3jHfsAEJY2/pCpslPmuPHprYtanGae8Q8nB/PU3/A9ReKMl5/TAfCO iF5Mt0hGi4f4UfPnikzePufyXWm0ESmOJ4yOeMjImYDPBo/meCBO4hG78plJY0/WS739 9ofxooLnmToZacxw4oaoKrohwrfmyemqp1rEfb3EbIsF3IS5DfPURh0AteRObhJaDT4h j0Hn06eGX3qFe6ciSp+ThhKKjZvBrEt9rqW3wGDL1F7yesG5zkQxiVVW+Ohl3KdzZ43E v198bCAYPrAj8foPo/y3peBuh5LquirK9x2e6PAZ6BOgopWTzW4PkuFglP1bemO+RZIW raIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+u57h7D0zp9RE90dI+Sf4Pcm7A2WFOtM44NYXmK4ynU=; b=XuxxiQ4vA3ua1/0ZgeAIHUhggqVwpaiGMUtvA0EsD+GM0NM9iDg6phKRygqcRreitQ 95aztGnXZTZX4Fj54PC1xwR5AyEtfZLWMi2s1aGgMDkr5ian65EC55r7vOkdxMxnBWhQ CxRBsPtM5eXPQzHnGl0655zaSOmO2btNwc8R0uP2O2KgH3fAXVsedZMcpeWfzOp1L2r6 iGFM0vBUAE78rIdRrM2aP1RhJ+JBtgMgnCOXk4YJY1vhOWF6WgNuhuwgaY4Aj0Vgt4bJ x05H8HYMvpHd8ZisU66ACTo9PYnKz3QunZMFoNDjOCDT5zYwX6pBinc3pOPj0LwKelQf aB9g== X-Gm-Message-State: AOAM533gIxVp3nDT4qKuUdOSwvjQEf4N3TZmdj2eGjfmCT22BK+369an AIJUg2LGcMO6t/d6Tx6ihFOCQy5ZS//+Ng== X-Google-Smtp-Source: ABdhPJxwzvz5mDosKzsWCJRdGcOdviC4NU43Kev/DTUvHgodepOJjCUEVpN1gHiQ3sC/8e1FMPVXtA== X-Received: by 2002:a7b:c151:: with SMTP id z17mr5845603wmi.189.1615319506457; Tue, 09 Mar 2021 11:51:46 -0800 (PST) Received: from localhost.localdomain (86-42-14-227-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.42.14.227]) by smtp.googlemail.com with UTF8SMTPSA id q25sm5298256wmq.15.2021.03.09.11.51.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Mar 2021 11:51:46 -0800 (PST) Subject: Re: bug#47023: df utilility displays G instead of GM as unit size for Gigabytes in power of 1000 To: =?UTF-8?Q?Philippe_B=c3=a9n=c3=a9zech?= , 47023@debbugs.gnu.org References: <91273fc2-249d-0ccc-3cbd-2c08fcb85fdf@laposte.net> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: Date: Tue, 9 Mar 2021 19:51:45 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 MIME-Version: 1.0 In-Reply-To: <91273fc2-249d-0ccc-3cbd-2c08fcb85fdf@laposte.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) unarchive 18119 forcemerge 18119 47023 stop On 09/03/2021 12:58, Philippe Bénézech via GNU coreutils Bug Reports wrote: > Dear maintener, > > I found a reproducible bug in df utility, installed in debian stable > > $ df --version |head -1 > df (GNU coreutils) 8.30 > $ cat /etc/debian_version > 10.8 > > df displays G instead of GM as unit size for Gigabytes in power of 1000 > (but the value is correct) This is not restricted to G > $ df -BGB /home > Sys. de fichiers blocs de 1GB Utilisé Disponible Uti% Monté sur > /dev/mapper/ssd2 421GB 355GB 45GB 89% /home > > $ df -H /home > Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur > /dev/mapper/ssd2 421G 355G 45G 89% /home In summary df -H is outputting with a concise single letter, which is indistinguishable from that of df -h. I agree that's not ideal as the output can't be interpreted without the command as context. I.e. it restricts usage to direct command line usage. A possible change we could make here would be to use GB, MB etc. if --si is specified. But also -h and -H are not really useful outside of direct cli usage, I'm 50:50 on changing this. This was originally discussed at https://bugs.gnu.org/18119 Mentioned there is an option to use the new numfmt functionality to provide more control and unambiguous output. BTW the fact that a B suffix implies SI units is awkward in the first place, which I've documented the reasons for at: https://www.pixelbeat.org/docs/coreutils-gotchas.html#units cheers, Pádraig