From owner-freebsd-current Sun May 25 14:44:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA10723 for current-outgoing; Sun, 25 May 1997 14:44:19 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA10718 for ; Sun, 25 May 1997 14:44:17 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA12558; Sun, 25 May 1997 14:41:35 -0700 From: Terry Lambert Message-Id: <199705252141.OAA12558@phaeton.artisoft.com> Subject: Re: Weird behaviour from the Linux emulator To: roberto@keltia.freenix.fr (Ollivier Robert) Date: Sun, 25 May 1997 14:41:35 -0700 (MST) Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <19970525193558.22470@keltia.freenix.fr> from "Ollivier Robert" at May 25, 97 07:35:58 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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.