From: Zorro Lang <zlang@redhat.com>
To: xfs@oss.sgi.com
Cc: Zorro Lang <zlang@redhat.com>, billodo@redhat.com
Subject: [PATCH v2] xfs_quota: add missed options -D and -P into man page
Date: Sat, 2 Apr 2016 10:45:10 +0800 [thread overview]
Message-ID: <1459565110-23923-1-git-send-email-zlang@redhat.com> (raw)
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 <eguan@redhat.com>
Signed-off-by: Zorro Lang <zlang@redhat.com>
---
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
next reply other threads:[~2016-04-02 2:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-02 2:45 Zorro Lang [this message]
2016-04-02 12:37 ` [PATCH v2] xfs_quota: add missed options -D and -P into man page Bill O'Donnell
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=1459565110-23923-1-git-send-email-zlang@redhat.com \
--to=zlang@redhat.com \
--cc=billodo@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox