public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mke2fs: correct help text for option -G of mke2fs
@ 2012-01-04  3:29 Yongqiang Yang
  2012-01-04  7:22 ` Andreas Dilger
  0 siblings, 1 reply; 3+ messages in thread
From: Yongqiang Yang @ 2012-01-04  3:29 UTC (permalink / raw)
  To: tytso; +Cc: linux-ext4, Yongqiang Yang

The option '-G' is used to pass number of groups in a flex_bg, the
previous help text - 'meta-group-size' - could confuse users with
meta_bg.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
---
 misc/mke2fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 0ef2531..52746fe 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -116,7 +116,7 @@ static void usage(void)
 	fprintf(stderr, _("Usage: %s [-c|-l filename] [-b block-size] "
 	"[-C cluster-size]\n\t[-i bytes-per-inode] [-I inode-size] "
 	"[-J journal-options]\n"
-	"\t[-G meta group size] [-N number-of-inodes]\n"
+	"\t[-G number-of-groups-per-flex_bg] [-N number-of-inodes]\n"
 	"\t[-m reserved-blocks-percentage] [-o creator-os]\n"
 	"\t[-g blocks-per-group] [-L volume-label] "
 	"[-M last-mounted-directory]\n\t[-O feature[,...]] "
-- 
1.7.5.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mke2fs: correct help text for option -G of mke2fs
  2012-01-04  3:29 [PATCH] mke2fs: correct help text for option -G of mke2fs Yongqiang Yang
@ 2012-01-04  7:22 ` Andreas Dilger
  2012-01-04  7:47   ` Yongqiang Yang
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Dilger @ 2012-01-04  7:22 UTC (permalink / raw)
  To: Yongqiang Yang; +Cc: tytso@mit.edu, linux-ext4@vger.kernel.org, Yongqiang Yang

Probably "flex_group_size" or "flex_group_factor" is as clear and a lot shorter. 

Cheers, Andreas

On 2012-01-03, at 20:29, Yongqiang Yang <xiaoqiangnk@gmail.com> wrote:

> The option '-G' is used to pass number of groups in a flex_bg, the
> previous help text - 'meta-group-size' - could confuse users with
> meta_bg.
> 
> Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
> ---
> misc/mke2fs.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/misc/mke2fs.c b/misc/mke2fs.c
> index 0ef2531..52746fe 100644
> --- a/misc/mke2fs.c
> +++ b/misc/mke2fs.c
> @@ -116,7 +116,7 @@ static void usage(void)
>    fprintf(stderr, _("Usage: %s [-c|-l filename] [-b block-size] "
>    "[-C cluster-size]\n\t[-i bytes-per-inode] [-I inode-size] "
>    "[-J journal-options]\n"
> -    "\t[-G meta group size] [-N number-of-inodes]\n"
> +    "\t[-G number-of-groups-per-flex_bg] [-N number-of-inodes]\n"
>    "\t[-m reserved-blocks-percentage] [-o creator-os]\n"
>    "\t[-g blocks-per-group] [-L volume-label] "
>    "[-M last-mounted-directory]\n\t[-O feature[,...]] "
> -- 
> 1.7.5.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mke2fs: correct help text for option -G of mke2fs
  2012-01-04  7:22 ` Andreas Dilger
@ 2012-01-04  7:47   ` Yongqiang Yang
  0 siblings, 0 replies; 3+ messages in thread
From: Yongqiang Yang @ 2012-01-04  7:47 UTC (permalink / raw)
  To: Andreas Dilger; +Cc: tytso@mit.edu, linux-ext4@vger.kernel.org

On Wed, Jan 4, 2012 at 3:22 PM, Andreas Dilger <aedilger@gmail.com> wrote:
> Probably "flex_group_size" or "flex_group_factor" is as clear and a lot shorter.
I will resend a patch using flex_group_factor.

Thanks,
Yongqiang.
>
> Cheers, Andreas
>
> On 2012-01-03, at 20:29, Yongqiang Yang <xiaoqiangnk@gmail.com> wrote:
>
>> The option '-G' is used to pass number of groups in a flex_bg, the
>> previous help text - 'meta-group-size' - could confuse users with
>> meta_bg.
>>
>> Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
>> ---
>> misc/mke2fs.c |    2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/misc/mke2fs.c b/misc/mke2fs.c
>> index 0ef2531..52746fe 100644
>> --- a/misc/mke2fs.c
>> +++ b/misc/mke2fs.c
>> @@ -116,7 +116,7 @@ static void usage(void)
>>    fprintf(stderr, _("Usage: %s [-c|-l filename] [-b block-size] "
>>    "[-C cluster-size]\n\t[-i bytes-per-inode] [-I inode-size] "
>>    "[-J journal-options]\n"
>> -    "\t[-G meta group size] [-N number-of-inodes]\n"
>> +    "\t[-G number-of-groups-per-flex_bg] [-N number-of-inodes]\n"
>>    "\t[-m reserved-blocks-percentage] [-o creator-os]\n"
>>    "\t[-g blocks-per-group] [-L volume-label] "
>>    "[-M last-mounted-directory]\n\t[-O feature[,...]] "
>> --
>> 1.7.5.1
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Wishes
Yongqiang Yang
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-04  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04  3:29 [PATCH] mke2fs: correct help text for option -G of mke2fs Yongqiang Yang
2012-01-04  7:22 ` Andreas Dilger
2012-01-04  7:47   ` Yongqiang Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox