Question, Apples Contribution to Open Source + MacOs file structure question
Other *NIXThis 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.
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.
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.