Subject: Re: Weird problem with NetBeans
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 05/22/2002 13:31:28
In article <20020522101906.A27580@idoru.mine.nu>,
Rasputin <rasputin@idoru.mine.nu> wrote:
>* Tracy Nelson <tnelson158@attbi.com> [020521 17:19]:
>> Hi!  I was working on getting NetBeans set up last night, when I ran across
>> some strange behavior.  When attempting to register a file with the file
>> browser, I was getting very strange results.  To make a long story short,
>> what was happening was, I was browsing in the Linux compatability tree,
>> which is set up with its own root hierarchy (i.e., I thought I was browsing
>> /usr/local, when I was really browsing /emul/linux/usr/local).
>
>According to compat_linux, that's how it should work. The same manpage also
>says that if you ask for a file /path/to/file, the emulation first
>tried to open /emul/linux/path/to/file, then falls back to /path/to/file,
>so symlinks shouldn't be needed.
>
>Or that's my understanding of:
>
>" This directory is named /emul/linux. Any file operations done by Linux
>programs run under NetBSD will look in this directory first. So, if a Linux
>program opens, for example, /etc/passwd, NetBSD will first try to open
>/emul/linux/etc/passwd, and if that does not exist open the 'real'
>/etc/passwd file."

Unless the path starts with "/../". Then it will skip the /emul/linux
lookup.

christos