Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2011 08:04:59 -0600
From:      Zhihao Yuan <lichray@gmail.com>
To:        RW <rwmaillists@googlemail.com>
Cc:        ports@freebsd.org
Subject:   Re: Linux compatibility with more than one Linux installed?
Message-ID:  <CAGsORuDD-bvHn56yjDrGjP501uLG_Sek9UqXzJHDfTX5jcZGgQ@mail.gmail.com>
In-Reply-To: <20111206134554.44298ce7@gumby.homeunix.com>
References:  <eer12xrotnbwco8ti8cfbwy3.1323091614336@email.android.com> <20111206095325.66342106566C@hub.freebsd.org> <CAGsORuAa2-b2xrwttEfwei9VJB4GonKM_Evn4RxopGO=i%2BiryA@mail.gmail.com> <20111206122146.3002664c@gumby.homeunix.com> <CAGsORuDWFDvrcbjN0wREsb%2B%2BmRMZKbcjgCGGDgT2Tr8svMD9Wg@mail.gmail.com> <20111206134554.44298ce7@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 6, 2011 at 7:45 AM, RW <rwmaillists@googlemail.com> wrote:
> On Tue, 6 Dec 2011 06:29:03 -0600
> Zhihao Yuan wrote:
>
>> On Tue, Dec 6, 2011 at 6:21 AM, RW <rwmaillists@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".
>
> 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.

FreeBSD handbook:
http://www.freebsd.org/doc/handbook/linuxemu-advanced.html

"In effect, there is a Linux kernel in the FreeBSD kernel; the various
underlying functions that implement all of the services provided by
the kernel are identical to both the FreeBSD system call table
entries, and the Linux system call table entries: file system
operations, virtual memory operations, signal delivery, System V IPC,
etc..."

So, if you define a Linux kernel as "every thing written by Linus and
his followers", then I'm wrong; but if you agree that "Android is not
GNU but it does run a Linux kernel", then I'm probably right.

> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGsORuDD-bvHn56yjDrGjP501uLG_Sek9UqXzJHDfTX5jcZGgQ>