by gamache · 13y ago · 0 comments
How much NetBSD-originated code remains in Darwin and OS X?
I remember that in the initial betas, there was heavy usage of NetBSD's userland (at least); I've no idea how much remains today.
EDIT: Everyone's mentioning FreeBSD, but I swear to $GOD[0] that I remember seeing 'NetBSD' at the top of many early man pages. NetBSD's site seems to remember something similar: http://www.netbsd.org/gallery/products.html#darwin
http://upload.wikimedia.org/wikipedia/commons/5/50/Unix_hist...
A lot of the BSD that's in OSX actually predates either FreeBSD or NetBSD, coming via NeXTStep from BSD 4.3 and via Mac OS X Server from 4.4. In addition there are FreeBSD influences. NetBSD seems largely independent.
That's also roughly what I remember (ex-NeXTie).
Looking at it more closely, it does look like a connection, but I think it is a fairly minor one. The first Mac OS X Server was still pretty close to NeXTStep/Rhapsody.
The bigger changes came later with Mac OS X, which was a major rewrite.
Are we talking the "part of OSX" that is called "Darwin"? If so, the code is all online. Easiest way to determine how much code is from NetBSD is to read it. And diff it against NetBSD's CVS repo.
Is that really just before 2002; or does it include after 2002?
And is there any reason for a big company to donate money / hardware / code / expertise but to ask not to be listed?
A more interesting question is how useful is OSX if we stripped away Darwin? That is, if we just left the proprietary bits, like the graphics code.
Assuming I don't need Apple's graphics, I'd just as soon use NetBSD than Darwin.