Mac OS X and UNIX

Just want to have a nice chat with your beer? Go ahead ;-)

Mac OS X and UNIX

Postby uncholowapo » 06 May 2008, 23:06

I was reading somewhere (forgot the page) that Mac OS X has a UNIX base. Is that true?
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: Mac OS X and UNIX

Postby ppietro » 07 May 2008, 01:14

uncholowapo wrote:I was reading somewhere (forgot the page) that Mac OS X has a UNIX base. Is that true?


Yes - very true.

MacOS X is based on BSD UNIX. Roughly speaking, this is sort of the "Father" of Linux. (I don't want to take this analogy too far, though :))

There's a good history about BSD here:
http://en.wikipedia.org/wiki/Bsd

MacOS X is not based on standard BSD, though - it's an open source fork called Darwin. The main difference is in the kernel. Unlike the kernels found in BSD & Linux, MacOS X uses a modified Mach kernel.

Simply put, most UNIX kernels include some low, low, low level "modules" to improve performance. This is kinda bad because if the module crashes, so does your kernel. But - especially in the early days of PCs - this was necessary to make them perform efficiently. A Mach kernel is basically nothing but kernel - it can launch, prioritize and kill threads. You implement your modules on top of this in normal "user" space - not in "kernel" space. If a module dies, the kernel can restart it safely.

(Well - that's the theory anyway. :))

Again - more about Mach here:
http://en.wikipedia.org/wiki/Mach_kernel

Since UNIX doesn't particularly care about graphics, Apple runs its own graphic system on top of Darwin called "Quartz". This is a replacement for the X Windows that Linux systems generally run, and was originally based on Visual Postscript. (Yes - the same thing that runs LaserPrinters). It's programmable via a native GUI library called "Cocoa" or a partial backwards compatible Mac OS 9 GUI library called "Carbon".

Interestingly enough - since it's BSD based, you can run X Windows on a Mac as well. It's a quite decent implentation, too - it runs simultaneously with Quartz, and a few applications like The Gimp & OpenOffice use X Windows for their display on the Mac.

So - in conclusion - Mac OS X is a BSD UNIX system (Darwin), using a Mach kernel (XNU) with a custom graphics layer called Quartz that offers X Windows support.

Sound good? :)

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Postby uncholowapo » 07 May 2008, 03:03

Thank you so much for the extensive response.
PS3 40GB has YDL 6.1 running 480i on a piece of $#!% Sanyo 24 incher. Need to go to 1080p.
User avatar
uncholowapo
ydl guru
ydl guru
 
Posts: 687
Joined: 19 Feb 2008, 02:58
Location: Norcross, GA USA

Re: Mac OS X and UNIX

Postby colleenex » 19 Aug 2009, 08:47

Can you install both Mac OS and Windows vista on the same computer? I own a hp dv3000 and My OS is WIndows Vista Home Premium. I also like Mac OS and want to install it in my computer so that I can use both of the OS. Is that possible? If possible, how?
______________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator
Last edited by colleenex on 21 Aug 2009, 11:07, edited 1 time in total.
colleenex
ydl newbie
ydl newbie
 
Posts: 1
Joined: 17 Aug 2009, 06:19

Re: Mac OS X and UNIX

Postby ppietro » 19 Aug 2009, 18:29

colleenex wrote:Can you install both Mac OS and Windows vista on the same computer? I own a hp dv3000 and My OS is WIndows Vista Home Premium. I also like Mac OS and want to install it in my computer so that I can use both of the OS. Is that possible? If possible, how?


Hi collenex,

Unfortunately, this is the wrong place to ask. This community board is about the Linux operating system Yellow Dog that runs on Apple's last generation of computers. These are computers based on the PowerPC processor - sometimes called G4 or G5 machines. This is not the same processor that's in your HP - that uses an Intel x86 family processor.

Therefore, we don't answer technical questions about Windows or Mac OS here. We mention them from time to time for comparison. :)

Cheers,
Paul

P.S. The answer to your question is no - not legally. You need to buy a Mac to officially run Mac OS. If you had a Mac, you could load a licensed copy of Windows Vista on it with a built-in tool called Boot Camp. But - legally - your HP Laptop should remain Windows - or Linux. :)
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: Mac OS X and UNIX

Postby levian » 16 Sep 2009, 08:01

is Mac OS X good enough for G3? or vice versa? i don't know my stuff very well. hehe.
levian
ydl newbie
ydl newbie
 
Posts: 8
Joined: 16 Sep 2009, 07:37

Re: Mac OS X and UNIX

Postby ppietro » 16 Sep 2009, 08:16

levian wrote:is Mac OS X good enough for G3? or vice versa? i don't know my stuff very well. hehe.


Again - this is a Yellow Dog Linux forum, not a Mac OS forum. It's best to ask that on a more applicable forum.

Locking this thread to further posts.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18


Return to Speaker's Corner

Who is online

Users browsing this forum: No registered users and 2 guests