btrfs fi df units

2011-03-19 Thread Brian J. Murrell
I notice when I issue a btrfs fi df the result is in units of GB (for a
large filesystem -- maybe it's smaller for smaller filesystems).  Is
there any way to force the units?  I'd like to see the granularity of
KBs if possible.

Cheers,
b.



signature.asc
Description: OpenPGP digital signature


Re: btrfs fi df units

2011-03-19 Thread Hugo Mills
On Sat, Mar 19, 2011 at 01:17:21PM -0400, Brian J. Murrell wrote:
 I notice when I issue a btrfs fi df the result is in units of GB (for a
 large filesystem -- maybe it's smaller for smaller filesystems).  Is
 there any way to force the units?  I'd like to see the granularity of
 KBs if possible.

   There's a patch set out there[1] that fixes the binary/decimal
units inconsistencies in the output of the btrfs tools. The patch also
allows you to display plain bytes.

   Hugo.

[1] http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg06517.html

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- Anyone who claims their cryptographic protocol is secure is ---   
 either a genius or a fool.  Given the genius/fool ratio 
 for our species,  the odds aren't good. 


signature.asc
Description: Digital signature