Re: [PATCH v4 02/10] man/man2/fsopen.2: document "new" mount API
From: Aleksa Sarai
Date: Sat Sep 20 2025 - 21:33:57 EST
On 2025-09-20, Aleksa Sarai <cyphar@xxxxxxxxxx> wrote:
> On 2025-09-19, Alejandro Colomar <alx@xxxxxxxxxx> wrote:
> > Hi Aleksa,
> >
> > On Fri, Sep 19, 2025 at 11:59:43AM +1000, Aleksa Sarai wrote:
> > > This is loosely based on the original documentation written by David
> > > Howells and later maintained by Christian Brauner, but has been
> > > rewritten to be more from a user perspective (as well as fixing a few
> > > critical mistakes).
> > >
> > > Co-authored-by: David Howells <dhowells@xxxxxxxxxx>
> > > Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> > > Co-authored-by: Christian Brauner <brauner@xxxxxxxxxx>
> > > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx>
> > > Signed-off-by: Aleksa Sarai <cyphar@xxxxxxxxxx>
> > > ---
> > > man/man2/fsopen.2 | 384 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > > 1 file changed, 384 insertions(+)
> > >
> > > diff --git a/man/man2/fsopen.2 b/man/man2/fsopen.2
> > > new file mode 100644
> > > index 0000000000000000000000000000000000000000..7cdbeac7d64b7e5c969dee619a039ec947d1e981
> > > --- /dev/null
> > > +++ b/man/man2/fsopen.2
> > > @@ -0,0 +1,384 @@
> > > +.\" Copyright, the authors of the Linux man-pages project
> > > +.\"
> > > +.\" SPDX-License-Identifier: Linux-man-pages-copyleft
> > > +.\"
> > > +.TH fsopen 2 (date) "Linux man-pages (unreleased)"
> > > +.SH NAME
> > > +fsopen \- create a new filesystem context
> > > +.SH LIBRARY
> > > +Standard C library
> > > +.RI ( libc ,\~ \-lc )
> > > +.SH SYNOPSIS
> > > +.nf
> > > +.B #include <sys/mount.h>
> > > +.P
> > > +.BI "int fsopen(const char *" fsname ", unsigned int " flags );
> > > +.fi
> > > +.SH DESCRIPTION
> > > +The
> > > +.BR fsopen ()
> > > +system call is part of
> > > +the suite of file descriptor based mount facilities in Linux.
> >
> > Minor nitpick (I can amend that; no worries):
> >
> > Because 'file-descriptor-based' works as a single modifier of
> > facilities, it goes with hyphens.
>
> Will do for all of the new pages.
By the way, I'll wait for your review of all of the remaining man-pages
before sending v5. Thanks!
--
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/
Attachment:
signature.asc
Description: PGP signature