GNU bug report logs - #33075
df wnen used with "Field list" option

Previous Next

Package: coreutils;

Reported by: vittorio.beggi <at> gmail.com

Date: Wed, 17 Oct 2018 15:13:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33075: closed (df wnen used with "Field list" option)
Date: Thu, 18 Oct 2018 01:19:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 17 Oct 2018 18:18:37 -0700
with message-id <669e516a-2dd6-b959-0eda-29c759ca656f <at> cs.ucla.edu>
and subject line Re: bug#33075: df wnen used with "Field list" option
has caused the debbugs.gnu.org bug report #33075,
regarding df wnen used with "Field list" option
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33075
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vittorio Beggi GMAIL <vittorio.beggi <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: df wnen used with "Field list" option
Date: Wed, 17 Oct 2018 12:05:05 +0200
df reports wrong size qualifier when used with "--output=[Field list]" 
option

example:

------

command line:  df -h --exclude cgroup /dev/sdd2

output:

File system     Dim. Usati Dispon. Uso% Montato su
/dev/sdd2       112G   21G     92G  19% /media/space


command line:  df  -h --output=source,iavail /dev/sdd2

output:

File system    ILiberi
/dev/sdd2          92M

-------

question: shouldn't be 92G ?

------

inxi output:

CPU~Dual core AMD Athlon II X2 250 (-MCP-) clocked at 800.000 Mhz 
Kernel~3.13.0-139-generic x86_64 Up~2:15 Mem~1575.8/7983.9MB 
HDD~1100.3GB(51.3% used) Procs~254 Client~Shell inxi~1.9.17

xubuntu 14.04


-- 
Vittorio Beggi

PHX di Beggi Vittorio
via Cirenaica, 6
35141 Padova PD
Tel/Fax: 049 8756276
Mobile: 340 4871253
mailto: vittorio.beggi <at> gmail.com
www.prontosoccorsopc.net




[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: vittorio.beggi <at> gmail.com, 33075-done <at> debbugs.gnu.org
Subject: Re: bug#33075: df wnen used with "Field list" option
Date: Wed, 17 Oct 2018 18:18:37 -0700
On 10/17/18 3:05 AM, Vittorio Beggi GMAIL wrote:
> command line:  df -h --exclude cgroup /dev/sdd2
>
> output:
>
> File system     Dim. Usati Dispon. Uso% Montato su
> /dev/sdd2       112G   21G     92G  19% /media/space
>
>
> command line:  df  -h --output=source,iavail /dev/sdd2
>
> output:
>
> File system    ILiberi
> /dev/sdd2          92M
>
> -------
>
> question: shouldn't be 92G ? 


No, because "92G" comes from 'avail', not from 'iavail'.



This bug report was last modified 6 years and 281 days ago.

Previous Next


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