From d1daec3d358eb5aaa38fa7c95fbfa330c46a69a1 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 19 Aug 2024 10:26:26 -0400 Subject: [PATCH] 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 b404c9e1c04..711ac11e8fc 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