Subject: Re: compat_netbsd32 problems
To: Tobias Nygren <tnn@NetBSD.org>
From: David Laight <david@l8s.co.uk>
List: port-sparc64
Date: 04/16/2007 20:19:15
On Mon, Apr 16, 2007 at 10:12:33AM +0200, Tobias Nygren wrote:
>
> Looks like something is broken on a more basic level.
> I ran in compat32 chroot:
>
> # ls -la
> total 8
> drwxrwxrwt 2 root wheel 512 Apr 16 10:07 .
> drwxr-xr-x 20 root wheel 512 Apr 13 17:54 ..
> # touch test.c
> touch: test.c: Inappropriate file type or format
> # echo hello > test.c
> # touch test.c
> # ls -l test.c
> -rw-r--r-- 1 root wheel 6 Apr 16 10:07 test.c
On my system I discovered that 'type foo' always returns /sbin/foo
when running an emualted /bin/sh chrooted to the emulation root.
This might be a generic problem, but is more likely caused by
my recent kernel hacking through all the compat code.
I need to fix some of my own bugs before I look into that one.
David
--
David Laight: david@l8s.co.uk