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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-07-2005, 06:12 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Posts: 5
Rep:
|
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
|
|
|
07-08-2005, 12:03 PM
|
#2
|
Member
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357
Rep:
|
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.
|
|
|
07-08-2005, 12:07 PM
|
#3
|
Member
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357
Rep:
|
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.
|
|
|
07-11-2005, 07:06 PM
|
#4
|
Member
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225
Rep:
|
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
|
|
|
07-24-2005, 11:56 PM
|
#5
|
Member
Registered: Apr 2004
Distribution: Gentoo 2004.1
Posts: 56
Rep:
|
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
|
|
|
07-25-2005, 04:23 AM
|
#6
|
Member
Registered: Mar 2004
Location: Tampere, Finland
Distribution: Debian, Familiar, OS X
Posts: 145
Rep:
|
apple has contributed a great deal to khtml project, since their web browser (safari) is a direct product of that project.
|
|
|
All times are GMT -5. The time now is 02:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|