From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Stalker To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Glendix? In-reply-to: <20071113153531.GD3627@paju.oulu.fi> References: <47396E4D.6020005@kix.in> <20071113133024.E01902F82@okapi.maths.tcd.ie> <20071113153531.GD3627@paju.oulu.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10930.1194970940.1@maths.tcd.ie> Date: Tue, 13 Nov 2007 16:22:20 +0000 Message-Id: <20071113162220.745FE2F82@okapi.maths.tcd.ie> Topicbox-Message-UUID: f7909de0-ead2-11e9-9d60-3106f5b1d025 > Isn't there also an "emulator" for Linux binaries on the > same arch (nearly always x86 if we think in binaries). Yes, and also SVR4, HPUX, BSDI, SCO, Solaris, Irix, Ultrix, and Amiga Unix binaries. They aren't, strictly speaking, emulators, though. The idea is that exec determines the type of the binary and then when the process makes a syscall the kernel sends it to the appropriate handler for that ABI. There is a mechanism for making each ABI see a slightly different view of the file system so the binaries see an environment more like the one they are expecting. See: http://www.netbsd.org/docs/compat.html > Another thing is, if you could get NetBSD to look like plan9, > maybe you would get this Glendix on all (or even some) of the > hw architectures the "world's most portable operating system" > supports! Yes, it would allow you to run plan9 binaries on a toaster, if you port kencc to the TS-7200 architecture. -- John Stalker School of Mathematics Trinity College Dublin tel +353 1 896 1983 fax +353 1 896 2282