From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 14B2A7CA3 for ; Sat, 2 Apr 2016 07:38:02 -0500 (CDT) Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by relay3.corp.sgi.com (Postfix) with ESMTP id 9AA96AC002 for ; Sat, 2 Apr 2016 05:37:58 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by cuda.sgi.com with ESMTP id rJvdQp8jaKhO2K4l (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 02 Apr 2016 05:37:57 -0700 (PDT) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4C2697F081 for ; Sat, 2 Apr 2016 12:37:57 +0000 (UTC) Date: Sat, 2 Apr 2016 07:37:55 -0500 From: "Bill O'Donnell" Subject: Re: [PATCH v2] xfs_quota: add missed options -D and -P into man page Message-ID: <20160402123754.GA4269@redhat.com> References: <1459565110-23923-1-git-send-email-zlang@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1459565110-23923-1-git-send-email-zlang@redhat.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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Zorro Lang Cc: xfs@oss.sgi.com On Sat, Apr 02, 2016 at 10:45:10AM +0800, Zorro Lang wrote: > There're two options in xfsprogs/quota/init.c:init() function, the -D > option is used to set a file to instead of /etc/projects, and the -P > option is used to set a file to instead of /etc/projid. I don't know > these two options when I write xfstests case xfs/133, because > there's no any information about them in xfs_quota and other related > man pages. I learn about these two options by read others test cases. > > So I add these options into xfs_quota man page. > > Reported-by: Eryu Guan > Signed-off-by: Zorro Lang > --- Reviewed-by: Bill O'Donnell > > Hi, > > V2 patch fix some english words problems: > Point a file contain the -> Specify a file containing the > directories trees -> directory trees > > Thanks for Bill specify my english syntax errors. English is not my > mother tongue, sorry for the mistake when I write english. > > Thanks, > Zorro > > man/man8/xfs_quota.8 | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/man/man8/xfs_quota.8 b/man/man8/xfs_quota.8 > index 951252b..ab67423 100644 > --- a/man/man8/xfs_quota.8 > +++ b/man/man8/xfs_quota.8 > @@ -15,6 +15,12 @@ xfs_quota \- manage use of quota on XFS filesystems > .B \-d > .I project > ] ... [ > +.B \-D > +.I projects_file > +] [ > +.B \-P > +.I projid_file > +] [ > .IR path " ... ]" > .br > .B xfs_quota \-V > @@ -53,6 +59,18 @@ commands to the set of projects specified. Multiple > .B \-d > arguments may be given. > .TP > +.BI \-D " projects_file" > +Specify a file containing the mapping of numeric project identifiers > +to directory trees. > +.I /etc/projects > +as default, if this option is none. > +.TP > +.BI \-P " projid_file" > +Specify a file containing the mapping of numeric project identifiers > +to project names. > +.I /etc/projid > +as default, if this option is none. > +.TP > .B \-V > Prints the version number and exits. > .PP > -- > 2.5.0 > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs