LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-04-2004, 11:48 PM   #1
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
FreeBSD vs Mac Os X


Hi!

Currently I am using both Slackware current and Mac Os X.2 and Mac Os X.3.

I know that Mac Os X was developed based on FreeBSD 4.4 or something like that.

But, what I really want to know is how different it is? I am not talking about User Interface (aqua, etc). I am referring to the system level stuff. Such as bootup process (should be quite diff), bootup scripts. etc.

Am interested of dual booting FreeBSD 5.3 with Slackware-current. I am moving towards stability instead of bleeding age (not that Slackware is that bleeding age).

Thanks for your feedback.
 
Old 12-05-2004, 06:22 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi carboncopy, I'm not quite certain what exactly you're asking, but here are some comparisons for you to look at concerning the command line.

http://www.unixguide.net/cgi-bin/unixguide.cgi

http://macosx.org/articles/cli_tutor...itutorial.html

As Far as the slack vs freebsd implications, IMO you'll find slack and freebsd very similar.
good luck.
 
Old 12-06-2004, 03:20 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Well OS X is built around a Mach kernel, which is not FreeBSD at all. Mach was a fork of 4.2BSD (just before the famous 4.3BSD). When Steve Jobs went to NeXT, they used Mach as the kernel for the NeXTSTEP OS and userland from 4.3BSD. When Apple acquired NeXT, they forked the OS (which was OPENSTEP, then Rhapsody) into Darwin and OS X server. OS X (desktop) started from Mach 4 and FreeBSD 3.1. OS 10.2 took infusions from FreeBSD 4.5, and OS 10.3 took in code from FreeBSD 4.8. Tiger (OS 10.4) is taking code from FreeBSD 5.x.

Most of the FreeBSD code is userland utilities, although some kernel modules (such as the TCP/IP stack) in OS X do come from FreeBSD. The main kernel and the init system are from Mach, though.

So any way, on OS X (desktop at least, I don't have experience with the server version) most of the environment exposed via command line is familiar (including the layout of /etc), but everything is not the same. The kernel and init process are quite a bit different. You definitely don't admin OS X from the command line, nearly all of the configuration is via GUI (at least for typical things, like account creation, software installation, etc). That said, since the userland is FreeBSD you can install quite a bit of OSS software if you can get it to build, or if there's a port available via fink or Darwin Ports.

Oh, and if you have waaaaaaaaay too much time on your hands, print this out and tack it up in your cubical like I did: http://www.levenez.com/unix/

Last edited by chort; 12-06-2004 at 03:21 PM.
 
Old 12-06-2004, 07:18 PM   #4
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Nice overview. Maybe add it to your "Read this" sticky.
 
Old 12-06-2004, 08:13 PM   #5
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by chort

Oh, and if you have waaaaaaaaay too much time on your hands, print this out and tack it up in your cubical like I did: http://www.levenez.com/unix/
Dude -- that's excellent! I don't have cubicle walls (I live in our server room), but I'll find a place for that!

Last edited by sigsegv; 12-06-2004 at 08:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac fans! A few questions about an old Mac... Mega Man X General 11 01-03-2007 09:01 PM
As a FreeBSD user, what is the best things you like about FreeBSD? t3gah *BSD 6 06-10-2005 02:38 PM
Linux-Apple Mac os X and freebsd ninadb Linux - General 2 10-09-2004 10:50 AM
how to use iptables -m mac --mac-source DeployedOne Linux - Security 3 08-06-2004 03:03 AM
FTP FreeBSD to Mac > CD > x86 install?? witeshark *BSD 4 02-14-2004 11:21 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration