Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 1997 14:41:35 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        roberto@keltia.freenix.fr (Ollivier Robert)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Weird behaviour from the Linux emulator
Message-ID:  <199705252141.OAA12558@phaeton.artisoft.com>
In-Reply-To: <19970525193558.22470@keltia.freenix.fr> from "Ollivier Robert" at May 25, 97 07:35:58 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> The Linux emulator has a weird idea of the filesystem, mixing the real one
> with the one rooted at /compat/linux. To see this, open Acroread (or any
> other Linux application), open "/" and then goes to "/usr". Watch now the
> program displaying everything that's in "/compat/linux/usr" instead of the
> real "/usr"...
> 
> I understand the need to shadow the real filesystem but it should be done
> only for the search for libraries/binaries, not for every open(2) call.

It also needs to be done for /etc/resolv.conf and for open for mmap()
of shared libraries (since we can't tell if the open is for a shared
library or not).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705252141.OAA12558>