Jump to content


OS X, UNIX, Linux, BSD, Mach


  • Please log in to reply
15 replies to this topic

#1 OFFLINE   Lover of quiet computers

Lover of quiet computers

    Post Master

  • Members
  • PipPipPipPip
  • 214 posts

Posted 25 January 2004 - 03:25 PM

  • On their site, Apple said OS X is based on UNIX.
  • A friend of mine says OS X is based on Linux.
  • I just read an article which says OS X uses a CMU Mach 3.0 kernel, which apparently is its own "thing," apart from Linux or UNIX.
I'm confused. On what is OS X really based? And if Linux does not contain UNIX code, which SCO alleges, then what is its real relationship with UNIX? Also, please tell me about BSD's and Mach's relationship to UNIX and Linux.Somehow, I get the feeling I'll never get straight answers on this. :)

#2 OFFLINE   SonicDragon

SonicDragon

    Discussion Deity

  • Forum MVP
  • 4,188 posts

Posted 25 January 2004 - 04:00 PM

From what i understand, OS X is based on Darwin, which is a BSD 'distro'.But i do realise that apple does claim it's UNIX, so i'm guessing there is UNIX code somewhere in OS X.

#3 OFFLINE   Arena2045

Arena2045

    Forum Fiend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,748 posts

Posted 25 January 2004 - 04:09 PM

Ok. This isn't intended to confuse you more, but:"Mac OS X is 'UNIX-based'""Mac OS X offers a unique combination of technical elements to the discerning geek, such as the fine-grained multithreading of the Mach 3.0 kernel...""All of the standard UNIX utilities and scripting languages are included in Mac OS X...""Panther integrates features from state-of-the-art FreeBSD 5 into Darwin""Darwin [is Apple's] Open Source base [for] Mac OS X""Darwin, an open source UNIX-based foundation [is] built on technologies such as FreeBSD, Mach, Apache, and GCC. Darwin provides a complete UNIX environment, with XII and POSIX services [b]comparable to Linux or FreeBSD, including familiar kernel, libraries, networking and command-line utilities."Check out these pages (sources of above quotes) for more info::) Apple: UNIX:) Apple: Darwin:) Apple: X11B) Apple: Darwin - Open Source

Edited by Arena2045, 25 January 2004 - 04:11 PM.

The Lavender ribbon symbolizes/supports Cancer Awareness - As a cancer survivor, I wear a lavender ribbon. I'm an All-Things-Apple/Mac Enthusiast... You can visit my site, and get links to all of my online profiles at: http://7nk.us/me

#4 OFFLINE   nlinecomputers

nlinecomputers

    Discussion Deity

  • No Longer a Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,932 posts

Posted 25 January 2004 - 04:12 PM

I would think Apple would know from whom it own code comes from.  OS X is based on Darwin a variant of BSD made by Apple. http://developer.apple.com/darwin/Linux's relationship with UNIX is that it is a UNIX clone.  It is a complete rewrite of the core(the kernel) of UNIX from scratch.  When you speak of Linux your only really refering to the kernel. http://en.wikipedia....nel_(computers)  All the applications run on top of this kernel.   The applications have to be compliled to run on the Kernel.  For example it is possible run GNU/Emacs on Linux, BSD,OS X, even Windows but the program must be recompiled for each OS.  Mach like LINUX is just another kernel.  http://en.wikipedia....iki/Mach_kernelFor more on OS X and all in components see http://en.wikipedia.org/wiki/Mac_OS_X
Nathan Williams, N-Line Computers

How to kill a programmer:  Give him a shampoo bottle.  Lather, Rinse, Repeat.

#5 OFFLINE   nlinecomputers

nlinecomputers

    Discussion Deity

  • No Longer a Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,932 posts

Posted 25 January 2004 - 04:14 PM

Unix page on Wikipedia.That has a good history on Unix and it's branches or forks.
Nathan Williams, N-Line Computers

How to kill a programmer:  Give him a shampoo bottle.  Lather, Rinse, Repeat.

#6 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 22,545 posts

Posted 25 January 2004 - 11:02 PM

Yep, and BTW, BSD, which OS X is based on is a true UNIX variant.Unlike Linux which is UNIX-like/UNIX compatible, and created from scratch apart of UNIX.
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#7 OFFLINE   SonicDragon

SonicDragon

    Discussion Deity

  • Forum MVP
  • 4,188 posts

Posted 26 January 2004 - 10:41 PM

Quote

Yep, and BTW, BSD, which OS X is based on is a true UNIX variant.Unlike Linux which is UNIX-like/UNIX compatible, and created from scratch apart of UNIX.
That part has sort of always confused me. BSD doesn't have actual UNIX code right? So how is it a true UNIX? Does that just mean that it's more UNIX like in the way it acts and opererates?  :)

#8 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 22,545 posts

Posted 26 January 2004 - 11:42 PM

This O'Reilly article might help with that SonicDragon:Twenty Years of Berkeley Unix
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#9 OFFLINE   nlinecomputers

nlinecomputers

    Discussion Deity

  • No Longer a Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,932 posts

Posted 26 January 2004 - 11:42 PM

BSD is UNIX.  They share some code, legally, as BSD was created when the Bell Labs gave rights to Berkley to help develop UNIX.  Unlike LINUX or GNU this BSD isn't a clone.  It is a fork of the orignal code.
Nathan Williams, N-Line Computers

How to kill a programmer:  Give him a shampoo bottle.  Lather, Rinse, Repeat.

#10 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 22,545 posts

Posted 26 January 2004 - 11:44 PM

Well said Nathan :)
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#11 OFFLINE   Lover of quiet computers

Lover of quiet computers

    Post Master

  • Members
  • PipPipPipPip
  • 214 posts

Posted 27 January 2004 - 10:56 PM

LilBambi, on Jan 26 2004, 02:57 AM, said:

Unlike Linux which is UNIX-like/UNIX compatible, and created from scratch apart of UNIX.
What does one mean when one says Linux is UNIX-compatible? Does it just mean they can run the same applications?

#12 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 22,545 posts

Posted 28 January 2004 - 12:19 AM

Yes, Linux is UNIX compatible ... it is based on the C programming language and was built to be able to run UNIX code.Most anything UNIX can be ported to Linux and vice versa.
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#13 OFFLINE   nlinecomputers

nlinecomputers

    Discussion Deity

  • No Longer a Member
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 3,932 posts

Posted 28 January 2004 - 09:45 AM

If you have the source code you can compile UNIX programs to run on Linux.  I have one client that was running an old SCO system 7 box to drive still older dumb green terminals.  The system was dying and the programer was long gone.  But in a folder on the drive was the source code.  So we replaced it with a Linux box and 3 Linux workstations that simply boot to the CLI and then telnet into the server. Recomplile the code on the Linux box and we are back in business with a much faster system running the same program that they been running for about 8years.
Nathan Williams, N-Line Computers

How to kill a programmer:  Give him a shampoo bottle.  Lather, Rinse, Repeat.

#14 OFFLINE   SonicDragon

SonicDragon

    Discussion Deity

  • Forum MVP
  • 4,188 posts

Posted 28 January 2004 - 11:09 AM

Quote

BSD is UNIX. They share some code, legally, as BSD was created when the Bell Labs gave rights to Berkley to help develop UNIX. Unlike LINUX or GNU this BSD isn't a clone. It is a fork of the orignal code.
Ohhh, i see. Thanks.

Quote

This O'Reilly article might help with that SonicDragon:Twenty Years of Berkeley Unix
Thanks for the link. I'm actually reading that book right now. I just started, so i hadn't made it to that chapter yet :'(

#15 OFFLINE   LilBambi

LilBambi

    Australisches Googler

  • Forum Admins
  • 22,545 posts

Posted 28 January 2004 - 11:34 AM

:thumbsup:You will enjoy the book SonicDragon!
Bambi
AKA Fran

Posted Image
My Public Key for Email :: BambisMusings Blog :: Fran's Computer Services Blog :: MyPassionIsBooks Blog :: 5BuckReview :: CNIRadio
"The Net interprets censorship as damage and routes around it." ~John Gilmore (Time Magazine, Dec 6, 1993)

#16 OFFLINE   Lover of quiet computers

Lover of quiet computers

    Post Master

  • Members
  • PipPipPipPip
  • 214 posts

Posted 28 January 2004 - 08:02 PM

Thanks for all the information. I've compiled it into a text document, wherefrom I'm going to try to digest it. I don't know why I find it so difficult. :blink:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users