Skip to contentSkip to conversation

xfs_quota: add missed options -D and -P into man page

PATCH In review Zorro Lang 2 participants 2 messages Apr 2, 2016

lore
Share & tools
lore

Zorro Lang

author
#0 lore raw

PATCH v2 1/1 xfs_quota: add missed options -D and -P into man page

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.

---

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(+)
man/man8/xfs_quota.8 +18 -0
index 951252b..ab67423 100644
@@ -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
Signature · 6 lines
2.5.0

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Reviewed-by on v2 1/1
#1 lore raw
Quoted 7 lines · Zorro Lang

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.

Quoted 5 lines

So I add these options into xfs_quota man page.

---

Quoted 55 lines

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(+)
man/man8/xfs_quota.8 +18 -0
index 951252b..ab67423 100644
@@ -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
Signature · 1 line
2.5.0

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs