Subject: Re: kern/36227: new emul namei problem with symlinks
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 04/27/2007 07:05:03
The following reply was made to PR kern/36227; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/36227: new emul namei problem with symlinks
Date: Fri, 27 Apr 2007 09:00:56 +0200
On Fri, Apr 27, 2007 at 01:45:00AM +0000, Mark Davies wrote:
> # echo "hello" > /tmp/test
> # ln -s /tmp/test /emul/linux/etc/foo
> # /emul/linux/bin/cat /etc/foo
> /emul/linux/bin/cat: /etc/foo: No such file or directory
I think this is a feature of the new code, not a bug (think links
to /lib in /usr/lib when doing netbsd32 emul)
What should work is:
cd /emul/linux/etc && ln -s /../tmp/test foo
Martin