From owner-freebsd-ports@FreeBSD.ORG Tue Dec 6 13:46:00 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D78106564A for ; Tue, 6 Dec 2011 13:46:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 19FE58FC16 for ; Tue, 6 Dec 2011 13:45:59 +0000 (UTC) Received: by eekc1 with SMTP id c1so1870638eek.13 for ; Tue, 06 Dec 2011 05:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=OwczKeFaLw8Fpf9Vx53Q2kEpuJEzX3rcCGVobkBYb1k=; b=EhSqAGAJwio+PMQK3WL5kx6X7mse3HgfeqEKtUV8Z8bmd12cRC92N260PyRJ+nu/6Z JwZCsGRzx+NggcvXvEIgsGiUBYqrPYME3dBBwf578vJD/6mfq45g/ENQTQZWpeAZmb7/ A2DQcHAm8oJzTCjNNpLf0GFSo4B7gCA6ubiGg= Received: by 10.14.11.89 with SMTP id 65mr2417512eew.158.1323179158932; Tue, 06 Dec 2011 05:45:58 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id l5sm34472354bkv.9.2011.12.06.05.45.56 (version=SSLv3 cipher=OTHER); Tue, 06 Dec 2011 05:45:57 -0800 (PST) Date: Tue, 6 Dec 2011 13:45:54 +0000 From: RW To: ports@freebsd.org Message-ID: <20111206134554.44298ce7@gumby.homeunix.com> In-Reply-To: References: <20111206095325.66342106566C@hub.freebsd.org> <20111206122146.3002664c@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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, 06 Dec 2011 13:46:00 -0000 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". 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.