Subject: Re: simple svr4 emul?
To: None <port-sparc@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-sparc
Date: 03/10/2001 21:14:34
In article <20010310011338.A20568@noc.untraceable.net>,
Andrew Brown <atatat@atatdot.net> wrote:
>i had this crazy idea that my sparc (dual booting netbsd 1.5S and
>solaris 8) would be an easy place to set up emulation since i've
>already got everything (libs, etc) that i need.

If your solaris filesystem has acls and you mount it under netbsd
it is a sure fire way to hose it. Actually the NetBSD fsck will
render your filesystem's superblock unusable under solaris, so
to recover on solaris you'll need fsck -b 32. Having said all that
and knowing that you are crazy^Wbrave enough to already have done this...

>the /dev entries seem to be totally incompatible (i thought we were
>using the same numbers as the "native"os?) so i tried this:

No we are not [and we cannot easily, since we'll need to have a conf.c
file per emulation and choose the appropriate one for each process.

The easiest way to achieve what you want, is to mount a small mfs on
top of /emul/svr4/dev and populate it with the SVR4_MAKEDEV script
provided.

christos