From owner-freebsd-emulation Fri Feb 5 02:03:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA23821 for freebsd-emulation-outgoing; Fri, 5 Feb 1999 02:03:02 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23816 for ; Fri, 5 Feb 1999 02:02:58 -0800 (PST) (envelope-from marcel@scc.nl) Received: from scones.sup.scc.nl (i337.ztm.euronet.nl [194.134.67.98]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id LAA24796; Fri, 5 Feb 1999 11:02:55 +0100 (MET) Received: from scc.nl (scones.sup.scc.nl [192.168.2.4]) by scones.sup.scc.nl (8.9.2/8.9.1) with ESMTP id LAA87175; Fri, 5 Feb 1999 11:02:51 +0100 (CET) (envelope-from marcel@scc.nl) Message-ID: <36BAC1CB.F4C1B480@scc.nl> Date: Fri, 05 Feb 1999 11:02:51 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: alk@pobox.com, freebsd-emulation@FreeBSD.ORG Subject: Re: linux.8 References: <14009.18708.573160.241150@avalon.east> <14010.20051.565140.790121@avalon.east> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tony Kimball wrote: > > Here's my attempt to explain linux-space. Please correct/expand/comment. > > When a Linux ABI executable attempts to change to a directory relative > to / which exits relative to /compat/linux (or the directory to which ^^^^^ typo > /compat/linux is linked, if it is a soft link), the version under > /compat/linux becomes the current working directory. The directories, > mounts, or links intervening between / and /compat/linux are not part > of the current path, so that changing directories to .. from the Linux > instance of /usr, namely /compat/linux/usr, changes directories to /, > and not to /compat/linux. This seems very odd. Are you sure? If that is the case, then there is definitely something wrong with the definition of overlaying :-) > > Attempting to > .Xr exec 2 > a file follows > similar rules of shadowing, with the contents of > /compat/linux/usr/bin, for example, superceding the contents of > /usr/bin. > .Xr open 2 > and > .Xr getdirentries 2 > do not, however, perform such shadowing. Again, are you sure? If that is the current behaviour, then your manpage is correct and I should stop complaining. But I sure would like to know what the reason is. > > .Sh FILES > .Bl -tag -width /lkm/linux_mod.o > .It Pa /lkm/linux_mod.o > Linux emulator loadable kernel module. > .Sh SEE ALSO > .Xr lkm 4 , > .Xr modload 8 , > .Xr brandelf 1 You may want to refer to kld modules. instead of lkm modules. If the manpage is correct wrt the implementation, could anyone explain to me why it is implemented the way it is. I see unnecessary inconsistencies here... marcel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message