Re: [PATCH v3 00/12] man2: document "new" mount API

Askar Safin <[email protected]> Wed, 20 Aug 2025 15:37:41 +0400
Newsgroups gmane.linux.kernel,gmane.linux.kernel.api,gmane.linux.file-systems,gmane.linux.man,gmane.linux.kernel.autofs
Message-ID <[email protected]>
 ---- On Sun, 17 Aug 2025 20:16:04 +0400  Aleksa Sarai <[email protected]> wrote --- 
 > They are not tested by fstests AFAICS, but that's more of a flaw in
 > fstests (automount requires you to have a running autofs daemon, which
 > probably makes testing it in fstests or selftests impractical) not the
 > feature itself.

I suggest testing automounts in fstests/selftests using "tracing" automount.
This is what I do in my reproducers.

 > The automount behaviour of tracefs is different to the general automount
 > mechanism which is managed by userspace with the autofs daemon.

Yes. But I still was able to write reproducers using "tracing", so this
automount point is totally okay for tests. (At least for some tests,
such as RESOLVE_NO_XDEV.)

--
Askar Safin
https://types.pl/@safinaskar