* Re: statx manpage
[not found] ` <10435.1488907375@warthog.procyon.org.uk>
@ 2017-03-31 15:56 ` Christoph Hellwig
[not found] ` <20170331155653.GA27655-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
1 sibling, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2017-03-31 15:56 UTC (permalink / raw)
To: David Howells
Cc: Christoph Hellwig, mtk.manpages, Darrick J. Wong, linux-fsdevel,
xfs, linux-man
On Tue, Mar 07, 2017 at 05:22:55PM +0000, David Howells wrote:
> Christoph Hellwig <hch@infradead.org> wrote:
>
> > This would be great to have in 4.11 together with the initial statx
> > implementation. But until I see documentation and testcases for statx
> > I don't really feel comfortable reviewing anything related to it.
>
> Well, since you asked for documentation, here's a manual page for you to
> review:-)
>
> Note that as it isn't in glibc yet, I've left out all the
> set-this-and-that-#define-to-make-it-appear stuff except where it is pertinent
> to particular constants.
I think we'll initially need to make this a section 2 page as libcs
will take a while to pick things up. But in the end Michael will have
to decide. Adding linux-man to the Cc list so that the right people
are involved.
Quoting the rendered page below:
> Invoking statx():
This is an odd header for a man page. Usually this would start as
DESCRIPTION
(in bold).
> [*] By absolute path.
Odd way to enumerate in a man page - I'll leave it to the linux-man regulars
to point out the right way, because I don't know it off-hand.
> AT_EMPTY_PATH (since Linux 2.6.39)
All these have been there since statx was added, so we can remove the annotation.
> STATX_BASIC_STATS [The stuff in the normal stat struct]
Please enumerate the actual fields.
> STATX_ALL [All currently available stuff]
How about "All currently available fields"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: statx manpage
[not found] ` <20170331155653.GA27655-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
@ 2017-03-31 16:43 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2017-03-31 16:43 UTC (permalink / raw)
To: Christoph Hellwig
Cc: dhowells-H+wXaHxf7aLQT0dZR+AlfA,
mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, Darrick J. Wong,
linux-fsdevel, xfs, linux-man-u79uwXL29TY76Z2rM5mHXA
Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> wrote:
> Quoting the rendered page below:
>
> > Invoking statx():
>
> This is an odd header for a man page. Usually this would start as
>
> DESCRIPTION
>
> (in bold).
Yes, I know. But it seems to make more sense this way round. Putting the
struct definition before the description of how to access it means that I can
refer to it in the definitions of the flags that you OR into the mask and
means you get to the struct much faster. Maybe I should put it under the
SYNOPSIS section?
> > [*] By absolute path.
>
> Odd way to enumerate in a man page - I'll leave it to the linux-man regulars
> to point out the right way, because I don't know it off-hand.
Me neither.
> > AT_EMPTY_PATH (since Linux 2.6.39)
>
> All these have been there since statx was added, so we can remove the
> annotation.
You're not the first to note this. I've already taken that out.
> > STATX_BASIC_STATS [The stuff in the normal stat struct]
>
> Please enumerate the actual fields.
They're enumerated immediately prior. I've changed it to:
STATX_BASIC_STATS [All of the above]
> > STATX_ALL [All currently available stuff]
>
> How about "All currently available fields"
Sure.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-31 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20170307050140.GA12946@infradead.org>
[not found] ` <20170307000609.GG5280@birch.djwong.org>
[not found] ` <10435.1488907375@warthog.procyon.org.uk>
2017-03-31 15:56 ` statx manpage Christoph Hellwig
[not found] ` <20170331155653.GA27655-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2017-03-31 16:43 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).