* [PATCH] xfs_quota: add missed options -D and -P into man page
@ 2016-04-01 6:15 Zorro Lang
2016-04-01 14:30 ` Bill O'Donnell
0 siblings, 1 reply; 2+ messages in thread
From: Zorro Lang @ 2016-04-01 6:15 UTC (permalink / raw)
To: xfs; +Cc: Zorro Lang, eguan
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,
I found this problem when I wrote xfstests/xfs/133. Thanks for Eryu
just reminded me again about this problem. I don't know why the
man page no information about them, if that's a miss, hope to fix
them.
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..b829f67 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"
+Point a file contain the mapping of numeric project identifiers to
+directories trees.
+.I /etc/projects
+as default, if this option is none.
+.TP
+.BI \-P " projid_file"
+Point a file contain 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] xfs_quota: add missed options -D and -P into man page
2016-04-01 6:15 [PATCH] xfs_quota: add missed options -D and -P into man page Zorro Lang
@ 2016-04-01 14:30 ` Bill O'Donnell
0 siblings, 0 replies; 2+ messages in thread
From: Bill O'Donnell @ 2016-04-01 14:30 UTC (permalink / raw)
To: Zorro Lang; +Cc: eguan, xfs
On Fri, Apr 01, 2016 at 02:15:20PM +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 <eguan@redhat.com>
> Signed-off-by: Zorro Lang <zlang@redhat.com>
> ---
>
> Hi,
>
> I found this problem when I wrote xfstests/xfs/133. Thanks for Eryu
> just reminded me again about this problem. I don't know why the
> man page no information about them, if that's a miss, hope to fix
> them.
>
> 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..b829f67 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"
> +Point a file contain the mapping of numeric project identifiers to
s/Point/Specify/
s/contain/containing/
> +directories trees.
s/directories/directory/
> +.I /etc/projects
> +as default, if this option is none.
> +.TP
> +.BI \-P " projid_file"
> +Point a file contain the mapping of numeric project identifiers to
s/Point/Specify/
s/contain/containing/
> +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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-01 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01 6:15 [PATCH] xfs_quota: add missed options -D and -P into man page Zorro Lang
2016-04-01 14:30 ` Bill O'Donnell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox