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