On Jun 16 2026, Cristian Rodriguez wrote:

> On Tue, Jun 16, 2026 at 6:43 PM 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 operate.
> It has to be the mounts on "this" process's mount namespace.

Isn't that exactly what /etc/mtab provides?

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to