linux.4: clarify path translation

Try to be a little more explicit about the path translation mechanism
accessing /compat/linux/<path> then falling back to /<path>.

PR:		277804
Reviewed by:	fernape
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste
2024-08-19 09:43:37 -04:00
parent e962b37bf0
commit f66e71fa78
+4 -2
View File
@@ -63,9 +63,11 @@ before
.Pa / .
For example, when Linux process attempts to open
.Pa /etc/passwd ,
it will really access
it will first access
.Pa /compat/linux/etc/passwd ,
unless the latter does not exist.
falling back to
.Pa /etc/passwd
if the former 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