Ralf S. Engelschall wrote:

On http://developer.apple.com/opensource/overview.html Apple confirms
that it is "FreeBSD 5.0 [userland] and the Mach 3.0 [kernel]", so
4.4BSD/Mach3 is correct as FreeBSD 5.0 is a 4.4BSD based system.

Sounds good, I guess a little family ancestry information doesn't hurt.
Keyword here being "based on", since Darwin and Xnu are strange beasts.

Major book tip is: "Mac OS X Internals" <http://www.macosxbook.com/>
or perhaps just the articles at http://www.kernelthread.com/mac/osx/

Ah, interesting. I've added support for this official source now, too.
I'm using "sw_vers" and manually fetching via "defaults". So, please one
more test round: run again the attached "shtool" script with "shtool
platform --type=all-in-one" on as much different Darwin and MacOS boxes
as you can and show me the outputs.

Here you have four examples, don't have any 64-bit versions unfortunately.
(Mac OS X 10.3.9 ppc, Darwin 7.0.1 i386, and Mac OS X 10.4.9 {ppc,i386})

concise architecture class:      PPC
regular architecture class:      PPC
verbose architecture class:      PPC
concise architecture product:    PPC
regular architecture product:    PPC
verbose architecture product:    PPC
concise architecture technology: PPC
regular architecture technology: PPC
verbose architecture technology: PPC
concise system class:            4.4BSD/Mach3.0
regular system class:            4.4BSD/Mach3.0
verbose system class:            4.4BSD/Mach3.0
concise system product:          Mac OS X       10.3.9
regular system product:          Mac OS X       10.3.9
verbose system product:          Apple Mac OS X         10.3.9
concise system technology:       7
regular system technology:       Darwin 7.9
verbose system technology:       Apple Darwin 7.9.0

concise architecture class:      iX86
regular architecture class:      iX86
verbose architecture class:      iX86
concise architecture product:    i386
regular architecture product:    i386
verbose architecture product:    i386
concise architecture technology: i386
regular architecture technology: i386
verbose architecture technology: i386
concise system class:            4.4BSD/Mach3.0
regular system class:            4.4BSD/Mach3.0
verbose system class:            4.4BSD/Mach3.0
concise system product:          7
regular system product:          Darwin 7.0
verbose system product:          Apple Darwin 7.0.0
concise system technology:       7
regular system technology:       Darwin 7.0
verbose system technology:       Apple Darwin 7.0.0

concise architecture class:      PPC
regular architecture class:      PPC
verbose architecture class:      PPC
concise architecture product:    PPC
regular architecture product:    PPC
verbose architecture product:    PPC
concise architecture technology: PPC
regular architecture technology: PPC
verbose architecture technology: PPC
concise system class:            4.4BSD/Mach3.0
regular system class:            4.4BSD/Mach3.0
verbose system class:            4.4BSD/Mach3.0
concise system product:          Mac OS X       10.4.9
regular system product:          Mac OS X       10.4.9
verbose system product:          Apple Mac OS X         10.4.9
concise system technology:       8
regular system technology:       Darwin 8.9
verbose system technology:       Apple Darwin 8.9.0

concise architecture class:      iX86
regular architecture class:      iX86
verbose architecture class:      iX86
concise architecture product:    i386
regular architecture product:    i386
verbose architecture product:    i386
concise architecture technology: i386
regular architecture technology: i386
verbose architecture technology: i386
concise system class:            4.4BSD/Mach3.0
regular system class:            4.4BSD/Mach3.0
verbose system class:            4.4BSD/Mach3.0
concise system product:          Mac OS X       10.4.9
regular system product:          Mac OS X       10.4.9
verbose system product:          Apple Mac OS X         10.4.9
concise system technology:       8
regular system technology:       Darwin 8.9
verbose system technology:       Apple Darwin 8.9.1

Might a be a space or two too many for Mac OS X, but otherwise
it is looking good I think ? (OpenDarwin is unfortunately dead)

--anders

______________________________________________________________________
OpenPKG                                             http://openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to