]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_quota: add missed options -D and -P into man page
authorZorro Lang <zlang@redhat.com>
Tue, 10 May 2016 07:16:06 +0000 (17:16 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 10 May 2016 07:16:06 +0000 (17:16 +1000)
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.

Document these options in the xfs_quota man page.

Reported-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
man/man8/xfs_quota.8

index 951252bf5b686673bb3a8cd1bf806f1df1bd6a0d..ab674235eab660fae4fd9b702859547446ec83fa 100644 (file)
@@ -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