Re: [hurd] Define _PATH_MOUNTED as "/etc/mtab"

Cristian Rodriguez via CVS commit notices for the GNU Hurd <[email protected]> Tue, 16 Jun 2026 20:09:05 -0400
Newsgroups gmane.os.hurd.cvs
Message-ID <CAPBLoAe9imaD8_7szqFq-Pp93o4x2mOjY8heYB2db=t7akhSBw__46968.2845914335$1781656029$gmane$org@mail.gmail.com>
On Tue, Jun 16, 2026 at 6:43=E2=80=AFPM Samuel Thibault
<[email protected]> wrote:
>
> From: Justus Winter <[email protected]>
>
> Change the definition of _PATH_MOUNTED to "/etc/mtab". This is the
> value used on Linux, and BSD also uses /etc/mtab.

The linux definition is wrong, it has to be ./proc/self/mounts always
with no ambiguity.
all the userspace now requires /etc/mtab not to be a regular file to operat=
e.
It has to be the mounts on "this" process's mount namespace.