| ▲ | reactordev 3 days ago | ||||||||||||||||||||||||||||||||||
MacOS was absolutely derived from BSD through NeXTSTEP. | |||||||||||||||||||||||||||||||||||
| ▲ | AdieuToLogic 2 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
> MacOS was absolutely derived from BSD through NeXTSTEP. The OS-X (now branded as "macOS") kernel was not, and is not, a derivative of the FreeBSD kernel, or any other BSD, even though macOS/OS-X has a FreeBSD kernel component due to its Mach heritage. The userland tools are however BSD. OS-X's kernel is XNU and from the XNU GitHub repo[0]:
I recommend the book "Mac OS X Internals"[1] for a detailed analysis of same.EDIT: In theory, XNU could simultaneously run the existing FreeBSD subsystem alongside Linux and/or MS-Windows ones. In practice, this would be a herculean effort fraught with difficulty. See QNX[2] for another example of a micro-kernel OS architecture. 0 - https://github.com/apple-oss-distributions/xnu 1 - https://books.apple.com/us/book/mac-os-x-internals/id4343583... | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | lukeh 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
The first version of MacOS X Server was based on an unreleased version of NEXTSTEP which in turn used 4.4BSD and Mach 2.5. Around BBB 1997-1998 a lot of userland was synced with bits from not just FreeBSD but the other BSD distributions, if my memory serves me correctly. MacOS X moved to Mach 3. That’s a very very long time ago though, and Apple obviously did a _lot_ of their own CoreOS engineering, things like launchd and XPC don’t have FreeBSD equivalents. But hey, Darwin is open source so if someone wants to do go on a provenance archeological dig, it could be done! | |||||||||||||||||||||||||||||||||||
| ▲ | bluGill 2 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
Large parts have been rewritten: they very different and don't show any BSD heritage. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||