From owner-freebsd-ports@FreeBSD.ORG Wed Jun 28 17:53:29 2006 Return-Path: X-Original-To: ports@FreeBSD.ORG Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C089616A403 for ; Wed, 28 Jun 2006 17:53:29 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB12B454BA for ; Wed, 28 Jun 2006 17:53:28 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 65F735D56; Wed, 28 Jun 2006 13:53:28 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zHzw86tv3xR0; Wed, 28 Jun 2006 13:53:27 -0400 (EDT) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 72C545D16; Wed, 28 Jun 2006 13:53:27 -0400 (EDT) In-Reply-To: <20060628172146.GA55051@iib.unsam.edu.ar> References: <20060628172146.GA55051@iib.unsam.edu.ar> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7A131765-AD00-4346-A3D1-771ED181EE16@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 28 Jun 2006 13:53:23 -0400 To: Fernan Aguero X-Mailer: Apple Mail (2.752.2) Cc: FreeBSD Ports Subject: Re: getting to /usr but not /compat/usr from a linux app X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 17:53:29 -0000 On Jun 28, 2006, at 1:21 PM, Fernan Aguero wrote: > I'm using Linux Firefox, and when asked to choose a helper > app to open a document I try to navigate to /usr/X11R6/bin > but I always end up in /compat/linux/usr/X11R6/bin instead > (though firefox believes it's /usr/X11R6/bin). > > I can see why this happens (linux apps should be fooled into > using their 'compat' usr space), but is there any way of > escaping from this? The Linux app is being run inside of a chroot()ed environment in order to give the appearance that they are running in a "real Linux system"; you can't escape a chroot() environment (hopefully), but you could create hard links or copy files from the FreeBSD /usr/X11R6/bin to the Linux environment... -- -Chuck