getting to /usr but not /compat/usr from a linux app
cswiger at mac.com
Wed Jun 28 17:53:29 UTC 2006
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...
More information about the freebsd-ports