From owner-freebsd-emulation Thu Mar 21 6: 1:21 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 4BDA337B400 for ; Thu, 21 Mar 2002 06:01:03 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Thu, 21 Mar 2002 09:00:32 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id D0F1ABB39; Thu, 21 Mar 2002 09:00:23 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Sean Harding , Andrew Gallatin Subject: Re: Possible bug with mkdir() in linux emulation? Date: Thu, 21 Mar 2002 09:00:23 -0500 X-Mailer: KMail [version 1.3] Cc: freebsd-emulation@FreeBSD.ORG References: <20020311192804.GE7788@dogcow.org> <15503.28152.181832.704801@grasshopper.cs.duke.edu> <20020314072933.GJ19578@dogcow.org> In-Reply-To: <20020314072933.GJ19578@dogcow.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020321140023.D0F1ABB39@i8k.babbleon.org> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday 14 March 2002 02:29 am, Sean Harding wrote: | On Wed Mar 13 at 10:19:20 AM, Andrew Gallatin wrote: | > as to be able to find linux shared libs & config files. So your | > program is trying to make /compat/linux/home, which doesn't exist & | > which you do not have permission to create. | | Ahhh! Indeed. A symlink from /home to /compat/linux/home made it work. | | So, I guess my question is whether this is a bug or a feature. Obviously, | it's necessary in order for some things to work (shared libraries, | etc.). However, as the Mozilla bug demonstrates, it also breaks some | things that assume that /home is /home is /home. Does $HOME get | /compat/linux prepended to it when Linux binaries try to get my home | directory? I thought that the emulation algorithm was to use, upon receiving a request to open /foo, /compat/linux/foo if it existed, but otherwise to use /foo. In this case, /compat/linux/home did not exist (right?), so I don't see why it should have been using it. So either: a) I am confused, or b) It is indeed a bug. My money's on (a), but could anyhbody explain *how* I'm confused? | | sean -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message