From owner-freebsd-emulation Wed Apr 15 13:24:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA01807 for freebsd-emulation-outgoing; Wed, 15 Apr 1998 13:24:15 -0700 (PDT) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01694 for ; Wed, 15 Apr 1998 20:23:41 GMT (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA01453; Wed, 15 Apr 1998 13:20:09 -0700 (PDT) Message-Id: <199804152020.NAA01453@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: alk@pobox.com cc: emulation@FreeBSD.ORG Subject: Re: Linux emulation problem In-reply-to: Your message of "Wed, 15 Apr 1998 15:07:12 CDT." <199804152007.PAA19718@compound.east.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Apr 1998 13:20:08 -0700 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org (It is important to make a visual differentiation between the text you are quoting, and your own text. You need to reconfigure your mail software.) This question belongs on the emulation list, whence it has been copied. > > From: Mike Smith > > > > > > > > Is it possible to force the Linux emulator to use the /compat/linux > > > tree only for shared libraries and other system files but not on the > > > user level? > > > > Not in a useful fashion, no. There is no way to tell the difference > > between a Linux application searching for something that "should" be in > > /compat/linux and something that "shouldn't". > > It could fall though. If, for example, an app tries to open > /usr/share/dict/words, the kernel could try > /compat/linux/usr/share/dict/words, fail, and then try > /usr/share/dict/words before giving up. > I believe this would be genuinely useful behaviour. Oddly enough, this is exactly how it works now. The problem is that when the target of the lookup is a directory, and the directory is found in the compatibility area, traversing this directory will only yield the file entries for the files in the compatibility area. This is more or less unavoidable. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message