* mkfs.xfs man page for -nsize
@ 2010-04-22 12:41 Wengang Wang
2010-04-22 16:33 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Wengang Wang @ 2010-04-22 12:41 UTC (permalink / raw)
To: xfs; +Cc: greg.marsden, joe.jin
Hi experts,
When trying -nsize=128 and -n6144 option to mkfs.xfs respectively, I got
error message:
"Illegal value xxx for -n size option"
But checking the man page,
----------------
-n naming_options
These options specify the version and size parameters for the
naming (directory) area of the filesystem. The valid nam-ing_options are:
size=value | log=value
The block size is specified either as a value in bytes
with size=, or as a base two logarithm value with log=. The default size value
for version 2 directories is 4096 bytes (4 KiB), unless the filesystem block
size is larger than 4096, in which case the default value is the filesystem
block size. For version 1 directories the block size is the same as the
filesystem block size.
----------------
I got no idea why the value is illegal.
Checking the codes, I found it also must be larger or equal to block size and it
must be in powers of 2, 2^N. Should we add these two limitation to man page?
regards,
wengang.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mkfs.xfs man page for -nsize
2010-04-22 12:41 mkfs.xfs man page for -nsize Wengang Wang
@ 2010-04-22 16:33 ` Christoph Hellwig
2010-04-23 1:56 ` Wengang Wang
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2010-04-22 16:33 UTC (permalink / raw)
To: Wengang Wang; +Cc: greg.marsden, joe.jin, xfs
On Thu, Apr 22, 2010 at 08:41:18PM +0800, Wengang Wang wrote:
> I got no idea why the value is illegal.
>
> Checking the codes, I found it also must be larger or equal to block size and it
> must be in powers of 2, 2^N. Should we add these two limitation to man page?
Yes, this should be added to the man page. Can you submit a patch to
add it?
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mkfs.xfs man page for -nsize
2010-04-22 16:33 ` Christoph Hellwig
@ 2010-04-23 1:56 ` Wengang Wang
0 siblings, 0 replies; 3+ messages in thread
From: Wengang Wang @ 2010-04-23 1:56 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs, joe.jin, greg.marsden, Wengang Wang
On 10-04-22 12:33, Christoph Hellwig wrote:
> On Thu, Apr 22, 2010 at 08:41:18PM +0800, Wengang Wang wrote:
> > I got no idea why the value is illegal.
> >
> > Checking the codes, I found it also must be larger or equal to block size and it
> > must be in powers of 2, 2^N. Should we add these two limitation to man page?
>
> Yes, this should be added to the man page. Can you submit a patch to
> add it?
>
Sure! I will be glad to do that. I will post the patch a bit later.
regards,
wengang.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-04-23 1:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-22 12:41 mkfs.xfs man page for -nsize Wengang Wang
2010-04-22 16:33 ` Christoph Hellwig
2010-04-23 1:56 ` Wengang Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.