Re: linux programs accessing non-linux programs

2006-10-24 Thread Dan Nelson
In the last episode (Oct 24), Giuseppe Pagnoni said:
> I have been having trouble figuring out how to make linux programs
> (installed and running under /compat/linux) access other FreeBSD
> binaries that are *not* located under /compat/linux.  For instance, I
> am running linux-thunderbird and when I want to open a *.doc file
> attachment, thunderbird asks me which application I would like to
> use: I would like to point it to /usr/X11R6/bin/abiword , but
> unfortunately when I chdir to /usr/X11R6/bin in the dialog box, it
> goes actually to /compat/linux/usr/X11R6/bin (and abiword is *not*
> there).  Is there a way to make linux programs be able to jump out of
> /compat/linux/ when looking for helper applications?

If you specify the full path instead of browsing to the directory, it
should work.  When linux programs ask for files, the kernel first looks
in /compat/linux/, then /.  

If you need to be able to browse to files, you can try null mounting /
and /usr into /compat/linux/realroot, then browse through that.  Or, if
you have amd enabled, browse through /net/localhost/...

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


linux programs accessing non-linux programs

2006-10-24 Thread Giuseppe Pagnoni

Hi all,

I have been having trouble figuring out how to make linux programs 
(installed and running under /compat/linux) access other FreeBSD 
binaries that are *not* located under /compat/linux.  For instance, I am 
running linux-thunderbird and when I want to open a *.doc file 
attachment, thunderbird asks me which application I would like to use:  
I would like to point it to /usr/X11R6/bin/abiword , but unfortunately 
when I chdir to /usr/X11R6/bin in the dialog box, it goes actually to 
/compat/linux/usr/X11R6/bin (and abiword is *not* there).  Is there a 
way to make linux programs be able to jump out of /compat/linux/ when 
looking for helper applications?


thanks in advance for any advice

best
  giuseppe

--
-
Giuseppe Pagnoni
Psychiatry and Behavioral Sciences
Emory University School of Medicine
1639 Pierce Drive, Suite 4000
Atlanta, GA, 30322
tel: 404.712.8431
fax: 404.727.3233 



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"