Subject: Re: Removing compat/aout
To: None <tech-kern@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-kern
Date: 03/08/2002 21:24:03
On Fri, 08 Mar 2002, Todd Vierling wrote:
> I'd be curious as to how much a system would be slowed down on native
> file accesses if the path translation took place within namei() itself
> for native or emul. (This would allow many of the emul functions
> simply to collapse to their sys_*() counterparts.)
I have sometimes wished that the native "netbsd" emulation tried
prepending "/emul/netbsd" to path names. This would be useful for
sharing filesystems between NetBSD and another OS. For example, last
time I tried booting a NetBSD/i386 kernel on a system that was installed
with FreeBSD, almost everything worked (with the NetBSD kernel running
the FreeBSD userland under emulation), but I wished that I could install
NetBSD versions of a few things under /emul/netbsd where they would not
get in the way when I booted a FreeBSD kernel again.
--apb (Alan Barrett)