[PATCH] btrfs-progs: add '-b' option to filesystem df and show

2013-02-01 Thread Audrius Butkevicius
Add '-b' and '--bytes' options to btrfs filesystem df and show, for easier integration with scripts. This causes all sizes to be displayed in decimal bytes instead of pretty-printed with human-readable suffices KB, MB, etc. Signed-off-by: Audrius Butkevicius --- cmds

Re: [PATCH] btrfs-progs: add '-b' option to filesystem df and show

2013-02-20 Thread Audrius Butkevicius
On 01/02/2013 10:30, Hugo Mills wrote: On Fri, Feb 01, 2013 at 09:59:49AM +, Audrius Butkevicius wrote: Add '-b' and '--bytes' options to btrfs filesystem df and show, for easier integration with scripts. This causes all sizes to be displayed in decimal bytes instead of

[PATCH] btrfs-progs: add options for changing size representations

2013-03-11 Thread Audrius Butkevicius
Add '--si', '-h'/'--human-readable' and '--block-size' global options, which allow users to customize the way sizes are displayed. Options and their format tries to mimic GNU ls utility. Signed-off-by: Audrius Butkevicius