O'Reilly logo

Mac OS X Panther in a Nutshell, 2nd Edition by Jason McIntosh, Chuck Toporek, Chris Stone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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/Library/Fonts. Each Fonts folder 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 11). 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 be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required