The /var Directory
The /var directory contains transient and volatile files, such as PID files (which tell you the process ID of a currently running daemon), log files, and many others. Table A-5 lists the contents of the /var directory.
|
File or directory |
Description |
|
at/ |
Contains information about jobs scheduled with the at command. |
|
backups/ |
Contains backups of the NetInfo database. |
|
cron/ |
Contains user crontab files. |
|
db/ |
Includes a grab bag of configuration and data files, including the locate database, the NetInfo database, and network interface information. |
|
empty/ |
Description not available at time of writing; see errata page at http://www.oreilly.com/catalog/mosxgeeks. |
|
log/ |
Contains a variety of log files, including syslog, mail, and web server logs. |
|
mail/ |
Contains inboxes for local users’ email. |
|
msgs/ |
Holds system-wide messages that were delivered using msgs -s. |
|
named/ |
Includes various files used for local DNS services. |
|
netboot/ |
Contains various files used for NetBoot. |
|
root/ |
Serves as the root user’s home directory. |
|
run/ |
Holds PID files for running processes. Also contains working files used by programs such as sudo. |
|
rwho/ |
Contains information used by the rwho command. |
|
servermgrd/ |
Contains runtime files used by the Server Manager daemon. Mac OS X Server only. |
|
spool/ |
Serves as a spool directory for mail, printer queues, and other queued resources. |
|
tmp/ |
Serves as a temporary ... |
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.
Read now
Unlock full access