Size reporting of btrfs tool
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 0 repliesNew
- v24 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Update pretty-printer for different systems of counting multiples.btrfs-show.c btrfs_cmds.c mkfs.c +2 more | +53 | 0 replies | |
| 2/4 | Add an option to show ISO, binary or raw bytes counts using df.btrfs.c btrfs_cmds.c man/ | +47 | 0 replies | |
| 3/4 | Add an option to show ISO, binary or raw bytes counts using show.btrfs.c btrfs_cmds.c man/ | +49 | 0 replies | |
| 4/4 | Add an option to show ISO, binary or raw bytes counts using btrfs-show.btrfs-show.c man/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [patch v3 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).
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.
Signature · 4 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
--- Jazz is the sort of music where no-one plays anything the ---
same way once.