atom feed24 messages in org.freebsd.freebsd-portsRe: Linux compatibility with more tha...
FromSent OnAttachments
Thomas MuellerNov 29, 2011 1:31 am 
Alexander LeidingerNov 29, 2011 6:26 am 
Lars EngelsNov 30, 2011 1:04 am 
Olivier SmedtsNov 30, 2011 2:10 am 
Daniel NebdalNov 30, 2011 3:22 am 
Alexander LeidingerNov 30, 2011 6:42 am 
Thomas MuellerDec 1, 2011 3:05 am 
Alexander LeidingerDec 3, 2011 6:23 am 
Thomas MuellerDec 5, 2011 2:32 am 
Alexander LeidingerDec 5, 2011 6:07 am 
Thomas MuellerDec 6, 2011 1:52 am 
Zhihao YuanDec 6, 2011 2:53 am 
Alexander LeidingerDec 6, 2011 3:16 am 
Alexander LeidingerDec 6, 2011 3:21 am 
RWDec 6, 2011 4:21 am 
Zhihao YuanDec 6, 2011 4:28 am 
RWDec 6, 2011 5:45 am 
Zhihao YuanDec 6, 2011 6:04 am 
RWDec 6, 2011 7:32 am 
Zhihao YuanDec 6, 2011 9:59 am 
Thomas MuellerDec 7, 2011 3:56 am 
Alexander LeidingerDec 7, 2011 1:22 pm 
Thomas MuellerDec 8, 2011 2:36 am 
Doug BartonDec 13, 2011 1:58 pm 
Subject:Re: Linux compatibility with more than one Linux installed?
From:Doug Barton (dou@FreeBSD.org)
Date:Dec 13, 2011 1:58:56 pm
List:org.freebsd.freebsd-ports

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 <rwma@googlemail.com> 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/