From owner-freebsd-ports@FreeBSD.ORG Tue Dec 13 21:59:25 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id BBC3A1065670 for ; Tue, 13 Dec 2011 21:59:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 921011589EC; Tue, 13 Dec 2011 21:59:25 +0000 (UTC) Message-ID: <4EE7CABD.1050502@FreeBSD.org> Date: Tue, 13 Dec 2011 13:59:25 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111110 Thunderbird/8.0 MIME-Version: 1.0 To: RW References: <20111206095325.66342106566C@hub.freebsd.org> <20111206122146.3002664c@gumby.homeunix.com> <20111206134554.44298ce7@gumby.homeunix.com> In-Reply-To: <20111206134554.44298ce7@gumby.homeunix.com> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: Linux compatibility with more than one Linux installed? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2011 21:59:25 -0000 On 12/06/2011 05:45, RW wrote: > On Tue, 6 Dec 2011 06:29:03 -0600 > Zhihao Yuan wrote: > >> On Tue, Dec 6, 2011 at 6:21 AM, RW wrote: >>> On Tue, 6 Dec 2011 04:54:18 -0600 >>> Zhihao Yuan wrote: >>> >>> >>>> Not really. The actual thing is, linuxulator is a Linux kernel >>>> running as a FreeBSD kernel module. The only thing FreeBSD kernel >>>> do is to identify the Linux program and to pass it to the Linux >>>> kernel. To the Linux programs inside a GNU chroot enviroment, they >>>> think they are running inside a Linux box and actually they are >>>> running inside a Linux box. >>> >>> Are you sure about that? I was under the impression that it was a >>> fairly thin emulation layer on top of the FreeBSD kernel. Has >>> something changed? >> >> To Linux program, there is no "emulation layer". This technology >> should be called "extended ELF lookup table", and has nothing to do >> with emulation. > > It's not emulation in the narrow sense that vmware is emulation and > wine isn't, but it certainly is emulation within the normal sense or the > word. My dictionary defines emulate as "imitate zealously". It's not emulation, in fact it's much more like wine. We have traditionally referred to it as "Linux binary compatibility" rather then emulation, since the Linux syscalls are actually implemented by the FreeBSD kernel. > But what I was getting at was the statement "linuxulator is a Linux > kernel running as a FreeBSD kernel module" which I'm guessing now you > didn't mean literally. That's not true in the sense that it's a separate process, but it is true in a sense, see above. Doug -- [^L] Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/