linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch v3 0/4] Size reporting of btrfs tool
@ 2010-10-26 12:23 Hugo Mills
  2010-10-26 12:23 ` [patch v3 1/4] Update pretty-printer for different systems of counting multiples Hugo Mills
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hugo Mills @ 2010-10-26 12:23 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Goffredo Baroncelli, Frank Kingswood

   While playing around with resizing volumes recently, I realised
that I didn't know whether btrfs fi show and btrfs fi df reported
sizes in ISO (e.g. powers of 10^3) units, as they appear to from the
labels they use, or in binary (powers of 2^10) units. Also, a mere
three significant figures is somewhat less than I'm comfortable with
if I'm about to resize the containing block device downwards.
   
   This patch series adds the ability to pick which scale is used for
show and df, and labels the amounts properly (e.g. MB for ISO, MiB for
binary units).

   I've incorporated Frank's suggestion of defaulting to raw, and
matching coreutils' use of -h and -H. I've also updated the man pages
and command help as requested by Goffredo.

   Hugo.

-- 
=== 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
    --- Jazz is the sort of music where no-one plays anything the ---    
                             same way once.                              


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-26 12:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 12:23 [patch v3 0/4] Size reporting of btrfs tool Hugo Mills
2010-10-26 12:23 ` [patch v3 1/4] Update pretty-printer for different systems of counting multiples Hugo Mills
2010-10-26 12:23 ` [patch v3 2/4] Add an option to show ISO, binary or raw bytes counts using df Hugo Mills
2010-10-26 12:23 ` [patch v3 3/4] Add an option to show ISO, binary or raw bytes counts using show Hugo Mills
2010-10-26 12:23 ` [patch v3 4/4] Add an option to show ISO, binary or raw bytes counts using btrfs-show Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).