btrfs-progs: right-align number columns in btrfs-debugfs output
authorHolger Hoffstätte <holger@applied-asynchrony.com>
Sat, 30 Sep 2017 15:54:27 +0000 (17:54 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Oct 2017 11:41:31 +0000 (13:41 +0200)
commit0fc8e78088216c76c262b1ea723d7136ec191869
tree21cea5e28d8731eabc8257d699301f63641e891e
parente4c6772f69bff7bb75d8df0d5010a1091d6e47eb
btrfs-progs: right-align number columns in btrfs-debugfs output

The values for block group offset, length etc. in btrfs-debugfs' output
are left-aligned, which creates unaligned output and makes the usage
percentage hard to read/process further. This patch adds right-aligning
format specifiers for the number values.
Ideally the format values wouldn't be hardcoded but instead derived from
the filesystem size, but this seems to work for now.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-debugfs