From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o3QCWHxX083944 for ; Mon, 26 Apr 2010 07:32:18 -0500 Received: from rcsinet10.oracle.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 04144154AD3B for ; Mon, 26 Apr 2010 05:34:20 -0700 (PDT) Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by cuda.sgi.com with ESMTP id PWAtPDXrKdYAZsZQ for ; Mon, 26 Apr 2010 05:34:20 -0700 (PDT) Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3QCY48O003067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Apr 2010 12:34:09 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3QCXvjn021436 for ; Mon, 26 Apr 2010 12:33:58 GMT Date: Mon, 26 Apr 2010 20:32:10 +0800 From: Wengang Wang Subject: Re: [PATCH] xfsprogs: mkfs manpage -nsize/log Message-ID: <20100426123210.GA3194@laptop.oracle.com> References: <201004261155.o3QBFk83032745@rcsinet15.oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201004261155.o3QBFk83032745@rcsinet15.oracle.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Wengang Wang Cc: greg.marsden@oracle.com, joe.jin@oracle.com, xfs@oss.sgi.com 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 > --- > 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@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/xfs _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs