Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 13:53:23 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Fernan Aguero <fernan@iib.unsam.edu.ar>
Cc:        FreeBSD Ports <ports@FreeBSD.ORG>
Subject:   Re: getting to /usr but not /compat/usr from a linux app
Message-ID:  <7A131765-AD00-4346-A3D1-771ED181EE16@mac.com>
In-Reply-To: <20060628172146.GA55051@iib.unsam.edu.ar>
References:  <20060628172146.GA55051@iib.unsam.edu.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A131765-AD00-4346-A3D1-771ED181EE16>