Re: compat: autofs v5 packet size ambiguity - update

From: Ian Kent
Date: Wed Feb 22 2012 - 20:35:15 EST


On Wed, 2012-02-22 at 07:13 -0800, H. Peter Anvin wrote:
> On 02/22/2012 01:32 AM, Ian Kent wrote:
> >
> > Oh, DOH ...
> >
> > The process mounting the autofs mount is passing the pipe it will use
> > for communication via a mount option so we can do this right in
> > fill_super.
> >
>
> Does that mean that the autofs v5 daemon calls mount() by itself, unlike
> the older autofs daemon? Otherwise you're reading the compatness of
> /bin/mount...

Version 5 does, yes.

There was nothing to be gained by the extra overhead of calling mount(8)
since I wanted to minimize mtab usage and contention, and didn't want
these showing up in mtab either.

>
> -hpa
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/