Subject: Re: /emul/xxx for all/other /sys/compat/xxx?
To: None <tech-kern@NetBSD.ORG>
From: Ty Sarna <>
List: tech-kern
Date: 03/06/1995 04:43:44
In article <>,
matthew green  <> wrote:
> the problem is that you've only got 8 characters to work with:
> changing `/usr/lib' to `/emul/sunos' would extend the string 3
> characters and break the program.  though this is a good idea,
> i'm not entirely sure how to do it properly.

The whole point is to NOT change the string to begin with, but to use
the unmodified SunOS and libraries.  Look at the
/sys/compat/linux/linux_util.[ch] (or s/linux/svr4/) and see how the
alternate root is handled.  I'm sugesting transplanting this into
/sys/compat/sunos (and the other emulations). 

In article <>,
Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU> wrote:
> Did i just hear you volunteer?  8-)

Next time I get NetBSD up on a m68k machine I'll try converting sunos if
nobody beets me to it.  That'll probably be a while. It doesn't really
look that hard, mostly cut and paste. Perhaps the alternate root code
should be factored out into /sys/compat/compat_root.c or something too.

I'll do the others if you'll send me alphas, pmaxen, etc :-). 

Ty Sarna                "I thought you were wrong before, but compared       to now you were right" -- Exit 57