Re: [PATCH v4 07/10] man/man2/open_tree.2: document "new" mount API
From: Aleksa Sarai
Date: Tue Sep 23 2025 - 21:34:57 EST
On 2025-09-22, Alejandro Colomar <alx@xxxxxxxxxx> wrote:
> Hi Aleksa,
>
> On Mon, Sep 22, 2025 at 08:09:47PM +1000, Aleksa Sarai wrote:
> > > > +is lazy\[em]akin to calling
> > >
> > > I prefer em dashes in both sides of the parenthetical; it more clearly
> > > denotes where it ends.
> > >
> > > is lazy
> > > \[em]akin to calling
> > > .BR umount2 (2)
> > > with
> > > .BR MOUNT_DETACH \[em];
> >
> > An \[em] next to a ";"? Let me see if I can rewrite it to avoid this...
>
> You could use parentheses, maybe.
I tried it a few different ways and I think it reads best with a single
em dash as a parenthetical -- since ";" indicates the end of a clause I
don't think you need to "close" the parenthetical with a corresponding
em dash.
Here is the parentheses version, but I plan to just keep the em dash
version in the patchset. If you really prefer the parenthesis version
feel free to replace it.
This implicit unmount operation is lazy
(akin to calling
.BR umount2 (2)
with
.BR MNT_DETACH );
thus,
any existing open references to files
from the mount object
will continue to work,
and the mount object will only be completely destroyed
once it ceases to be busy.
--
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/
Attachment:
signature.asc
Description: PGP signature