[PATCH] xfsprogs: mkfs manpage -nsize/log
Wengang Wang
wen.gang.wang at oracle.com
Mon Apr 26 07:32:10 CDT 2010
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 at oracle.com>
> ---
> 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 at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
More information about the xfs
mailing list