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

The Machines Directory

As noted earlier in Section 12.5, the /machines directories within a NetInfo hierarchy play a special role in defining it. They describe the domains that make up a NetInfo hierarchy by mapping machines to the domains that they host.

A local domain’s /machines directory

Figure 12-6. A local domain’s /machines directory

A /machines directory contains one subdirectory for every machine (a single computer somewhere on the visible network) that it defines. Figure 12-6 shows an example as seen in NetInfo Manager, with the localhost subdirectory selected. (Every Mac’s local NetInfo database should contain /machines/localhost, as it defines the local machine’s role in hosting its own NetInfo domain.)

Along with the name and address properties that make each such subdirectory work similarly to a line in the old Unix /etc/hosts config file, each of these machine-specific directories contains a serves property, whose value indicates the NetInfo domain hosted on this machine. In Figure 12-6, we can see that the machine called localhost serves the domain tagged local.

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