[Bug 277804] [Linuxulator]: stat(2) on UFS volumes reports wrong st_dev (devid)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Aug 2024 23:58:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277804

--- Comment #12 from Ed Maste <emaste@freebsd.org> ---
(In reply to Fernando ApesteguĂ­a from comment #11)

I agree all of the information is in the man page, but do you think this would
be a slight clarification:

diff --git a/share/man/man4/linux.4 b/share/man/man4/linux.4
index 212dd2526f3f..b404c9e1c04d 100644
--- a/share/man/man4/linux.4
+++ b/share/man/man4/linux.4
@@ -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

-- 
You are receiving this mail because:
You are the assignee for the bug.