btrfs command completion Was: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-15 Thread Duncan
David Sterba posted on Thu, 15 Jan 2015 13:05:46 +0100 as excerpted: A shell completion would be great of course, it's in the project ideas. There's a starting point http://www.spinics.net/lists/linux-btrfs/msg15899.html . FWIW, in case anyone is interested... What I did here is a bit

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-15 Thread David Sterba
On Thu, Jan 15, 2015 at 09:17:01AM +0800, Fan Chengniang/樊成酿 wrote: 在 2015年01月14日 23:46, David Sterba 写道: On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes using --human-readable option, example: That's too long to type and the

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-15 Thread 樊成酿
在 2015年01月15日 20:30, David Sterba 写道: On Thu, Jan 15, 2015 at 09:17:01AM +0800, Fan Chengniang/樊成酿 wrote: 在 2015年01月14日 23:46, David Sterba 写道: On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes using --human-readable option, example:

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-14 Thread Qu Wenruo
Original Message Subject: Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes From: David Sterba dste...@suse.cz To: Fan Chengniang fancn.f...@cn.fujitsu.com Date: 2015年01月14日 23:46 On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-14 Thread Fan Chengniang/樊成酿
在 2015年01月14日 23:46, David Sterba 写道: On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes using --human-readable option, example: That's too long to type and the idea was to add all the long options that force the specific unit base,

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-14 Thread David Sterba
On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes using --human-readable option, example: That's too long to type and the idea was to add all the long options that force the specific unit base, ie. --kbytes/--mbytes/..., --raw, --si and

[PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-12 Thread Fan Chengniang
make btrfs qgroups show human readable sizes using --human-readable option, example: qgroupid rfer excl max_rfer max_excl parent child -- - 0/5 299.58MiB299.58MiB400.00MiB0.00B