Skip to content

Size reporting of btrfs tool

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Update pretty-printer for different multiple systems.btrfs-show.c btrfs_cmds.c mkfs.c +2 more+53 -250 replies
2/4Add an option to show ISO, binary or raw bytes counts using df.btrfs.c btrfs_cmds.c+35 -72 replies
3/4Add an option to show ISO, binary or raw bytes counts using show.btrfs.c btrfs_cmds.c+38 -90 replies
4/4Add an option to show ISO, binary or raw bytes counts using btrfs-show.btrfs-show.c+17 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/4] Size reporting of btrfs tool

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).

Hugo.

Signature · 3 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
        --- emacs:  Eighty Megabytes And Constantly Swapping. ---