linux.4: improve the path translation clarificiation

As suggested by martin@lispworks.com, refer to the compat path
explicitly, and correct an existing grammaro.

PR:		277804
Fixes: f66e71fa78 ("linux.4: clarify path translation")
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2024-08-19 10:26:26 -04:00
parent f66e71fa78
commit d1daec3d35

View file

@ -61,13 +61,13 @@ under
.Pa /compat/linux )
before
.Pa / .
For example, when Linux process attempts to open
For example, when a Linux process attempts to open
.Pa /etc/passwd ,
it will first access
.Pa /compat/linux/etc/passwd ,
falling back to
.Pa /etc/passwd
if the former does not exist.
if the compat path does not exist.
This is used to make sure Linux processes load Linux shared libraries
instead of their similarly-named FreeBSD counterparts, and also
to provide alternative versions of certain other files and virtual