Re: The nature of kernel of the FreeBSD




On Thu, 7 Sep 2006, Erik Trulsson wrote:

On Wed, Sep 06, 2006 at 07:20:39PM -0300, Eder wrote:
A doubt,

Kernel of the FreeBSD is monolithic, correct !!!

Correct.

The MacOS is derived from kernel of the FreeBSD, correct !!!

Incorrect. The kernel of MacOS X is mainly derived from the Mach kernel, not from FreeBSD. I believe it also contains much code from various BSD-derivatives (including FreeBSD) but the basic design is that of Mach rather than that of BSD.

I think that is a poor characterization. The vast majority of code in the Mac OS X kernel is device driver code in IOKit, which is from neither BSD nor Mach. Mach provides the VM and IPC, but it's hrad to argue that the architecture of the Mac OS X is the Mach architecture, because it's not a micro-kernel , and the kernel does not aspire to be one. The major visible/complex services in the kernel, both file system and network stack, are very BSD, and are directly derived from FreeBSD. I think it's reasonable to argue that Mac OS X is significantly influenced, both in architecture and code, by both Mach and BSD, but pretty inaccurate to state that it adopts one architecture over the other -- it really adopts both.

Robert N M Watson
Computer Laboratory
University of Cambridge
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Is FreeBSD a suitable choice for a MacBook? --- WHY?
    ... The kernel is mach microkernel based and not even slightly similar. ... quantities of FreeBSD, Mach, and Apple-originated code in the Mac OS X kernel, both because Apple pulled in a lot of FreeBSD code early on, but also because code moves between the two kernels fairly easily and fairly frequently, and in both directions. ... You'll find a FreeBSD-derived VFS, network stack, and countless other kernel parts in Mac OS X from their first open source drop forward. ...
    (freebsd-stable)
  • Re: 5.0-RELEASE missing info
    ... > Naturally I chose to set up FreeBSD. ... kernel specific to that architecture. ... > configuration file and compiled and installed the new kernel and IT ...
    (freebsd-questions)
  • Re: Is FreeBSD a suitable choice for a MacBook? --- WHY?
    ... My bottom line was that unless you want to run a very specific port that has not been ported to Mac OSX, I do not see the reason to install FreeBSD on a Mac Book. ... The kernel is mach microkernel based and not even slightly similar. ...
    (freebsd-stable)
  • Re: FreeBSD 6 Beta 3
    ... system based on the Mach kernel, plus source code from UC Berkeley's ... presentandolo come "FreeBSD-based" e molti neoutenti credono di ritrovarvi lo stesso kernel e gli stessi strumenti di installazione, ... e "FreeBSD services". ...
    (it.comp.macintosh)
  • Re: The nature of kernel of the FreeBSD
    ... The vast majority of code in the Mac ... OS X kernel is device driver code in IOKit, which is from neither BSD nor ... Mach provides the VM and IPC, but it's hrad to argue that the ... architecture of the Mac OS X is the Mach architecture, ...
    (freebsd-hackers)