Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

Filesystem Organization

Mac OS X defines several folders across the filesystem as holding special significance to the system. Individual applications, as well as the system software itself, consult these directories when scanning for certain types of software or resources installed on the machine. For example, a program that wants a list of fonts available to the whole system can look in /Library/Fonts and /System/Library/Fonts. Font files can certainly exist elsewhere in the filesystem, but relevant applications aren’t likely to find them unless they’re in a predictable place.

Domains

You might also have a /Library/Fonts folder inside your home folder, and perhaps yet another inside /Network. Each of these Fonts folders exists inside a separate domain, Mac OS X’s term for the scope that a folder resides in (in terms of both function and permission from the current user’s point of view). The system defines four domains.

Warning

The term “domain” is a contender for the most overloaded word used to describe Mac OS X. While reading this section, try not to confuse the concept of filesystem domains with that of Internet domain names (such as “oreilly.com”) or NetInfo domains (as covered in Chapter 12). None of these have anything to do with each other.

User

Contains folders that are under complete control of the current user. Generally speaking, this includes the user’s Home folder and everything inside it.

Local

Holds folders and files usable by all users of this machine, which may ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata