From owner-freebsd-current Fri Feb 2 18:21:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 767A737B401 for ; Fri, 2 Feb 2001 18:20:55 -0800 (PST) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id EE09BD06; Fri, 2 Feb 2001 18:20:54 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18546)/8.9.3 SMKit7.02) with ESMTP id SAA04084; Fri, 2 Feb 2001 18:20:53 -0800 (PST) Message-ID: <3A7B6B05.D1C1A88@cup.hp.com> Date: Fri, 02 Feb 2001 18:20:53 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Andrea Campi Cc: freebsd-current@FreeBSD.ORG Subject: Re: RFC: user-config alt path in Linux emulation References: <20010131112104.B2268@webcom.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrea Campi wrote: > > When running a Linux binary in Linux compat mode, all calls to open(), > readdir() and such, end up calling linux_emul_find() from linux_util.c. > This functions looks for a directory/file with the same name in the > /compat/linux hierarchy. > The net effect is that there is no way to, for instance, back up the > real /usr from Tivoli, etc... as there is no way to get to a real path > if there is anything with the same name inside /compat/linux. > > I'd like to understand if there is any accepted way to work around this > limitation (no, symlinks are not an option :-p), I'm sure not. /compat is already a symlink (to /usr/compat to be precise). What's with symlinks that it can't be an option? -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message