Skip to contentSkip to conversation

btrfs fi df units

DISCUSSION Brian J. Murrell 2 participants 2 messages Mar 19, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 4 lines · 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.

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/[email protected]/msg06517.html

Signature · 5 lines
=== 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.