From 4d13434539052dcdcc738b68535d5e9bdb116dda Mon Sep 17 00:00:00 2001 From: Fan Chengniang Date: Mon, 19 Jan 2015 15:18:18 +0800 Subject: btrfs-progs: make btrfs qgroups show human readable sizes add --raw, --si, --iec, --kbytes, --mbytes, --gbytes, --tbytes options make columns which show sizes align to right. Others aligned to left. example: qgroupid rfer excl max_rfer max_excl parent child -------- ---- ---- -------- -------- ------ ----- 0/5 299.58MiB 299.58MiB 300.00MiB 300.00MiB 1/1 --- 0/265 299.58MiB 16.00KiB 400.00MiB 0.00B 1/1 --- 0/266 299.58MiB 16.00KiB 350.00MiB 0.00B --- --- 1/1 599.16MiB 299.59MiB 800.00MiB 0.00B --- 0/5,0/265 Signed-off-by: Fan Chengniang Signed-off-by: David Sterba --- Documentation/btrfs-qgroup.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Documentation/btrfs-qgroup.txt') diff --git a/Documentation/btrfs-qgroup.txt b/Documentation/btrfs-qgroup.txt index 7e370bd0..8d15cee4 100644 --- a/Documentation/btrfs-qgroup.txt +++ b/Documentation/btrfs-qgroup.txt @@ -89,6 +89,20 @@ print max exclusive size of qgroup. list all qgroups which impact the given path(include ancestral qgroups) -f:::: list all qgroups which impact the given path(exclude ancestral qgroups) +--raw:::: +raw numbers in bytes, without the 'B' suffix. +--iec:::: +select the 1024 base for the following options, according to the IEC standard. +--si:::: +select the 1000 base for the following options, according to the SI standard. +--kbytes:::: +show sizes in KiB, or kB with --si. +--mbytes:::: +show sizes in MiB, or MB with --si. +--gbytes:::: +show sizes in GiB, or GB with --si. +--tbytes:::: +show sizes in TiB, or TB with --si. --sort=[\+/-][,[+/-]]...:::: list qgroups in order of . + -- cgit v1.2.3