Subject: Re: Fat binaries
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Dave Burgess <burgess@s069.netins.net>
List: current-users
Date: 04/13/1995 17:20:46
> 
> > (The p-code /sbin/init described above does so little with so much
> > kernel help that kernel probably ought to just go find
> > /sbin/init.ARCH itself anyway.)
> 
> There is actually a very simple solution.  Make the kernel effectively
> stat /sbin/init; if it's a directory, exec /sbin/init/`arch` instead.
> Small, simple, almost entirely leveraged on existing code, fully
> generalizable, and damn near zero overhead if you don't use it: what
> more do you want?
> 

I *LIKE* that!

It is, IMHO, a truly elegant and portable way to do this that I frankly
can't see why someone else didn't think of it earlier!


-- 
Dave Burgess  (The man of a thousand E-Mail addresses)
386bsd FAQ Maintainer / SysAdmin for the NetBSD system in my spare bedroom
"Just because something is stupid doesn't mean that there isn't someone
that wants to do it...."