xfs
[Top] [All Lists]

Re: [PATCH] xfsprogs: mkfs manpage -nsize/log

To: Wengang Wang <wen.gang.wang@xxxxxxxxxx>
Subject: Re: [PATCH] xfsprogs: mkfs manpage -nsize/log
From: Wengang Wang <wen.gang.wang@xxxxxxxxxx>
Date: Mon, 26 Apr 2010 20:32:10 +0800
Cc: xfs@xxxxxxxxxxx, greg.marsden@xxxxxxxxxx, joe.jin@xxxxxxxxxx
In-reply-to: <201004261155.o3QBFk83032745@xxxxxxxxxxxxxxxxxxxx>
References: <201004261155.o3QBFk83032745@xxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-08-17)
Sorry.
Send description of this patch.

There are two limitation for mkfs.xfs -nsize/log option:
1) directory block size must be a power of 2 size.
2) it can't be less than a file system block size.

Current man page don't include the above information. User could
be confused with errors, say "Illegal value xxx for -n size option", but
they can't find out the cause by checking the man page.

The patch adds the two limitations to the manpage.

On 10-04-26 19:53, Wengang Wang wrote:
> Signed-off-by: Wengang Wang <wen.gang.wang@xxxxxxxxxx>
> ---
>  man/man8/mkfs.xfs.8 |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/man/man8/mkfs.xfs.8 b/man/man8/mkfs.xfs.8
> index 4b147e9..bdaa153 100644
> --- a/man/man8/mkfs.xfs.8
> +++ b/man/man8/mkfs.xfs.8
> @@ -478,6 +478,8 @@ in bytes with
>  or as a base two logarithm
>  .I value
>  .RB "with " log= .
> +The block size must be a power of 2 size and cannot be made less than the
> +filesystem block size.
>  The default size
>  .I value
>  for version 2 directories is 4096 bytes (4 KiB),
> -- 
> 1.6.6.1
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>