From: Wengang Wang <wen.gang.wang@oracle.com>
To: xfs@oss.sgi.com
Cc: greg.marsden@oracle.com, joe.jin@oracle.com
Subject: mkfs.xfs man page for -nsize
Date: Thu, 22 Apr 2010 20:41:18 +0800 [thread overview]
Message-ID: <20100422124118.GA3406@laptop.oracle.com> (raw)
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
next reply other threads:[~2010-04-22 12:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 12:41 Wengang Wang [this message]
2010-04-22 16:33 ` mkfs.xfs man page for -nsize Christoph Hellwig
2010-04-23 1:56 ` Wengang Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100422124118.GA3406@laptop.oracle.com \
--to=wen.gang.wang@oracle.com \
--cc=greg.marsden@oracle.com \
--cc=joe.jin@oracle.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.