git: d1daec3d358e - main - linux.4: improve the path translation clarificiation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Aug 2024 14:29:37 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=d1daec3d358eb5aaa38fa7c95fbfa330c46a69a1
commit d1daec3d358eb5aaa38fa7c95fbfa330c46a69a1
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-08-19 14:26:26 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-08-19 14:29:19 +0000
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: f66e71fa78e1 ("linux.4: clarify path translation")
Sponsored by: The FreeBSD Foundation
---
share/man/man4/linux.4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/man/man4/linux.4 b/share/man/man4/linux.4
index b404c9e1c04d..711ac11e8fce 100644
--- a/share/man/man4/linux.4
+++ b/share/man/man4/linux.4
@@ -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