05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

28<br />

CHAPTER 2 THE FILE SYSTEM<br />

Figure 2-1. A simple view of <strong>Leopard</strong>’s default file system<br />

The Library Folders<br />

One thing you may notice about the file system is that there are multiple Library folders. This is<br />

by design, and while there are many similarities between the contents of the Library folders, they<br />

are scoped differently.<br />

NOTE There are actually four Library domains, although generally you’ll only see three<br />

Library folders. Some applications can contain their own Library folders that contain plug-ins<br />

or other information that is used only when that application is running.<br />

The Library folders each contain the necessary support items for the applications on your<br />

system, as well as the system itself. These include things like preference settings, cache items,<br />

scripts, and screen savers. In practice, you almost never need to fuss with the contents of any<br />

Library folder; however, there are times when it may benefit you to do so (especially the Library<br />

folder in your home directory). That said, for each Library folder there are certain rules. We’ll<br />

look at each of the three primary Library folders in general first, and then we’ll explore common<br />

subitems contained in Library folders in general.<br />

The Library and System Library Folders<br />

The primary Library folder (/Library) and the Library folder contained in the System folder<br />

(/System/Library) have global scope. That is, their contents support every aspect of the system.<br />

Specifically, the System Library folder contains the items necessary for the system to operate, and<br />

the primary Library folder contains the items necessary for most applications, third-party hardware,<br />

and other items that affect every user on the system.<br />

As a general rule, the System Library is sacred. Only Apple should install items in it, and<br />

only Apple should alter any of those items. As such, there is almost no reason for you (or me) to<br />

touch anything in there unless you are 100 percent sure you know exactly what you are doing<br />

and that doing it here is the only way to solve your problem. Changing anything here can cause<br />

very bad things to happen (or even worse . . . nothing at all).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!