Table A-1: Contents and Purpose of Base System Directories
Directory | Description |
/ |
The root directory of the file system |
/dev/ |
Block and character device special files |
/etc/ |
System configuration files and databases;
nonexecutable files |
nls/ |
National language support databases |
/lost+found/ |
Files located by fsck |
/opt/ |
Optional for layered products, such as applications
and device drivers |
/sbin/ |
Commands essential to boot the system (most
of these commands depend on shared libraries or the loader and have other
versions in /usr/bin or /usr/sbin) |
init.d/ |
System state rc files |
rc0.d/ |
The rc files executed for system-state 0 |
rc2.d/ |
The rc files executed for system-state 2 |
rc3.d/ |
The rc files executed for system-state 3 |
/subsys/ |
Dynamically configured kernel modules required
in single-user mode |
/tmp/ |
System-generated temporary files, usually
not preserved across a system reboot. |
/usr/ |
Most user utilities and applications |
bin/ |
Common utilities and applications |
ccs/ |
C compilation system; tools and libraries
used to generate C programs |
bin/ |
Development binaries such as cc, ld, and make |
lib/ |
Development libraries and back ends |
include/ |
Program header (include) files; not all subdirectories
are listed in this appendix |
mach/ |
Mach-specific C include files |
machine/ |
Machine-specific C include files |
net/ |
Miscellaneous network C include files |
netinet/ |
C include files for Internet standard protocols |
netns/ |
C include files for XNS standard protocols |
nfs/ |
C include files for Network File System |
protocols/ |
C include files for Berkeley service protocols |
rpc/ |
C include files for remote procedure calls |
servers/ |
C include files for servers |
sys/ |
System C include files (kernel data structures) |
tli/ |
C include files for Transport Layer Interface |
ufs/ |
C include files for UNIX File System |
examples/ |
Subdirectories of programming examples |
lbin/ |
Back-end executable files |
spell/ |
Spell back-end |
uucp/ |
UNIX-to-UNIX Copy (UUCP) programs |
lib/ |
Links to libraries located elsewhere (/usr/ccs/lib), (/usr/libin), (/usr/share/lib), (/X11/lib); included for compatibility |
opt/ |
Optional layered products, such as applications
and device drivers |
sbin/ |
System administration utilities and system
utilities |
share/ |
Architecture-independent ASCII text files |
dict/ |
Word lists |
lib/ |
Various libraries |
me/ |
Macros for use with the me
macro package |
ms/ |
Macros for use with the ms
macro package |
tabset/ |
Tab description files for a variety of terminals;
used in /etc/termcap |
terminfo/ |
Terminal information database |
tmac/ |
Text-processing macros |
man/ |
Online reference pages |
man1/ |
Source for user command reference pages |
man2/ |
Source for system call reference pages |
man3/ |
Source for library routine reference pages |
man4/ |
Source for file format reference pages |
man5/ |
Source for miscellaneous reference pages |
man7/ |
Source for device reference pages |
man8/ |
Source for administrator command reference
pages |
cat1-cat8 |
Formatted versions of files in man1 - man8 |
shlib/ |
Binary-loadable shared libraries; shared
versions of libraries in /usr/ccs/lib |
sys/ |
System configuration files |
BINARY |
Object files |
conf/ |
Kernel configuration control files |
include/ |
Header files |
/var/ |
Multipurpose log, temporary, varying, and
spool files |
adm/ |
Common administrative files and databases |
crash/ |
For saving kernel crash dumps |
cron/ |
Files used by cron |
sendmail/ |
Configuration and database files for sendmail |
syslog/ |
Files generated by syslog |
opt/ |
Optional layered products, such as applications
and device drivers |
run/ |
Files created when daemons are running |
spool/ |
Miscellaneous printer and mail-system spooling
directories |
lpd/ |
Line printer spooling directories |
mail/ |
Incoming mail messages |
mqueue/ |
Undelivered mail queue |
uucp/ |
UUCP spool directory |
subsys/ |
Loadable kernel modules required in multiuser
mode |
tmp/ |
Application-generated temporary files that
are kept between system reboots |
/vmunix |
Pure kernel executable (the operating system
loaded into memory at boot time) |