On Mon, Oct 07, 2013 at 03:21:46PM +0800, Wang Shilong wrote: > You can use it like: > btrfs qgroup show --block-size=m <mnt> > > Here, block size supports k/K/m/M/g/G/t/T/p/P/e/E. There is no distinction between the 1000 and 1024 based prefixes, also no way to get the raw values in bytes. I don't have a suggestion how to do that, merely letting you know that this could go separately (this and the "-h" patch, the rest shall be integrated). Also, the numbers in the table should be aligned to the right: $ btrfs qgroup show -h -p /mnt/ qgroupid rfer excl parent -------- ---- ---- ------ 0/5 900.00KiB 900.00KiB --- 0/267 688.00KiB 12.00KiB 1/5 0/268 684.00KiB 8.00KiB 1/5 0/269 6.71GiB 4.00KiB 1/1 0/277 6.71GiB 4.00KiB 1/1 0/278 39.74GiB 39.74GiB 1/2 1/1 6.71GiB 6.71GiB --- 1/2 39.74GiB 39.74GiB --- 1/5 696.00KiB 696.00KiB --- david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
