coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] df: reorder default field list of --output option


From: Pádraig Brady
Subject: Re: [PATCH] df: reorder default field list of --output option
Date: Thu, 22 Nov 2012 14:02:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 11/22/2012 01:31 PM, Bernhard Voelker wrote:
As I've been working with "df --o" for quite a while now, I noticed
that the readability of the full output could be improved by moving
the inodes fields before the block fields:
* inodes consumption is usually not often so critical in real life,
* some file systems do not provide inodes information.

Before:

   $ src/df --o -h / /home .
   Filesystem     Type  Size  Used Avail Use% Inodes IUsed IFree IUse% Mounted 
on
   /dev/sda1      ext4   12G  8.1G  2.9G  74%   751K  254K  497K   34% /
   /dev/sdb3      ext3   99G   61G   34G  65%   6.3M   81K  6.2M    2% /home
   /dev/sdb5      ext4  339G  255G   83G  76%    22M  1.1M   21M    5% 
/media/sdb5

After:

   $ src/df --o -h / /home .
   Filesystem     Type Inodes IUsed IFree IUse%  Size  Used Avail Use% Mounted 
on
   /dev/sda1      ext4   751K  254K  497K   34%   12G  8.1G  2.9G  74% /
   /dev/sdb3      ext3   6.3M   81K  6.2M    2%   99G   61G   34G  65% /home
   /dev/sdb5      ext4    22M  1.1M   21M    5%  339G  255G   83G  76% 
/media/sdb5


WDYT?

I agree.
No backwards compat issues to worry about yet.
Patch looks good.

thanks,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]