LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 07-07-2005, 06:12 PM   #1
Higgy3k
LQ Newbie
 
Registered: Jun 2003
Posts: 5

Rep: Reputation: 0
Question, Apples Contribution to Open Source + MacOs file structure question


I was having a debate with a friend who is a MacOSX user about the contributions that Apple have offered to the open source community. Me being a Linux/Windows user couldn't think of a high profile (at least) example of Apple contributing to the Open Source community.

DOes anyone know of any examples of Apple's contributions?

If not is it not at the least ungratefull of Apple to use the Apache Web Server and the X11 system in their products without directly giving something back to the community.


My other question is slightly more trivial,
I logged into the same friends Super User account using the 'su' command in a terminal window using MacOS and changed to the top level directory. Here I found that all his document folders/files (e.g. Pictures, Videos) were sitting directly alongside system directories (/etc/, /bin/, etc).
Upon looking into some of the system directories I realised that there was a substantial lack of executables, librariess etc that are usually present in a Unix based system.

My question is does MacOS store the system files (such as the X11 executable which I assume should exist somewere in the system heirarchy) in another locatrion? Or are they by some means hidden?

If they are hidden it struck me as strange that a users documents would be side by side with the system directories.

Thanks for your time...Id Apprechiate replies if possible

Stephen
 
Old 07-08-2005, 12:03 PM   #2
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Oh man.

This reminds me of something I forgot. Didn't Apple just open source a service utility with their Tiger release? It had something to do with...

Ok. It just came back to me after 10 minutes of searching. They open sourced "launchd" which is their replacement for cron - or was it xinetd?

Last edited by Kdr Kane; 07-08-2005 at 12:04 PM.
 
Old 07-08-2005, 12:07 PM   #3
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
The launchd service replaces (takes a deep breath) init, rc, the init.d and rc.d scripts, SystemStarter, inetd and xinetd, atd, crond, and watchdog.
 
Old 07-11-2005, 07:06 PM   #4
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Yep, from what I've read - but I'm no expert - launchd sounds pretty good.

The core of the OS, darwin, is also, open sourced - there's even an x86 version :wink: - you can read about it and download it on the Apple Developer's Site.

With regard to the structure of the file system, it's completely different in OS X to the majority of other Unix based systems. Not only that but is uses the NeXT based package system for most of the Mac OS X applications. For example, you'll find the Mail program acutally runs from Mail.app, which is acutally a special kind of directory that contains all the config and code to run the application.

Having said all that, user directories don't normally sit in the root filesystem. They should be in the user's home directory, which should be somewhere like /Users/<username> but I can't quite remember!

For a start, the Mac doesn't use X11 as it's windowing system, it uses Quartz and Aqua which are the proprietry components, or at least some of them, that make Mac OS X closed source. X11 is available for Mac OS X though, it's part of the develper package. If you install the developer tools from the OS X cds, it should be there.

Phew, far too late to go on about this any more without firing up my mac. Hope it's of some interest.

Cheers,

Steve
 
Old 07-24-2005, 11:56 PM   #5
MACSRULE
Member
 
Registered: Apr 2004
Distribution: Gentoo 2004.1
Posts: 56

Rep: Reputation: 15
all the os x system files are stored in /System. preference files, misc config files either go in /Library or /Users/user/Library, and are grouped by application
 
Old 07-25-2005, 04:23 AM   #6
pevelius
Member
 
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Debian, Familiar, OS X
Posts: 145

Rep: Reputation: 16
apple has contributed a great deal to khtml project, since their web browser (safari) is a direct product of that project.
 
  


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
File system/structure question ashley75 Linux - General 1 05-17-2005 09:02 PM
Virtual Host file structure question cdrobsonjr Linux - Software 2 09-22-2004 08:11 PM
Open Source lawful question orange400 Linux - General 1 08-27-2004 11:24 AM
macos-like command line file viewer (open) in linux shunker Linux - Newbie 0 12-25-2003 07:21 AM
Question on Linux Open Source Code and M$ uses Paul Parr General 2 04-16-2003 09:23 AM

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

All times are GMT -5. The time now is 02:03 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