The /kernel directory contains only platform-independent objects, including a platform-independent kernel, genunix. See Table 40-3 for a description of /platform and /usr/platform, the platform-dependent directories.
The table below describes all the default directories contained in the root (/) file system.
Table 40-1 Default Directories in the root (/) File System|
Directory |
Description |
|---|---|
|
/ |
Root of the overall file system name space |
|
/dev |
Primary location for special files |
|
/dev/cfg |
Symbolic links to physical ap_ids |
|
/dev/cua |
Device files for uucp |
|
/dev/dsk |
Block disk devices |
|
/dev/fbs |
Frame buffer device files |
|
/dev/md |
Logical volume management meta-disk devices |
|
/dev/fd |
File descriptors |
|
/dev/pts |
pty slave devices |
|
/dev/rdsk |
Raw disk devices |
|
/dev/rmt |
Raw tape devices |
|
/dev/sad |
Entry points for the STREAMS Administrative Driver |
|
/dev/sound |
Audio device and audio device control files |
|
/dev/swap |
Default swap device |
|
/dev/term |
Serial devices |
|
/etc |
Host-specific system administrative configuration files and databases |
|
/etc/acct |
Accounting configuration information |
|
/etc/cron.d |
Configuration information for cron |
|
/etc/default |
Defaults information for various programs |
|
/etc/dmi |
Solstice Enterprise AgentsTM configuration files |
|
/etc/dfs |
Configuration information for shared file systems |
|
/etc/dhcp |
Dynamic Host Configuration Protocol (DHCP) configuration files |
|
/etc/fn |
Federated Naming Service and x.500 support files |
|
/etc/fs |
Binaries organized by file system types for operations required before /usr is mounted |
|
/etc/gss |
Generic Security Service (GSS) Application Program Interface configuration files |
|
/etc/inet |
Configuration files for Internet services |
|
/etc/init.d |
Scripts for changing between run levels |
|
/etc/lib |
Dynamic linking libraries needed when /usr is not available |
|
/etc/llc2 |
Logical link control (llc2) driver configuration files |
|
/etc/lp |
Configuration information for the printer subsystem |
|
/etc/mail |
Mail subsystem configuration information |
|
/etc/net |
Configuration information for TI (transport- independent) network services |
|
/etc/nfs |
NFS server logging configuration file |
|
/etc/openwin |
OpenWindowsTM configuration files |
|
/etc/opt |
Configuration information for optional packages |
|
/etc/rc0.d |
Scripts for entering/leaving run level 0 |
|
/etc/rc1.d |
Scripts for entering/leaving run level 1 |
|
/etc/rc2.d |
Scripts for entering/leaving run level 2 |
|
/etc/rc3.d |
Scripts for entering/leaving run level 3 |
|
/etc/rcS.d |
Scripts for bringing the system up in single user mode |
|
/etc/rpcsec |
This directory may contain a NIS+ authentication configuration file |
|
/etc/saf |
Service access facility files (including FIFOs) |
|
/etc/security |
Basic Security Module (BSM) configuration files |
|
/etc/skel |
Default profile scripts for new user accounts |
|
/etc/tm |
Trademark files; contents displayed at boot time |
|
/etc/uucp |
uucp configuration information |
|
/export |
Default directory for users' home directories, client file systems, or other shared file systems |
|
/home |
Default directory or mount point for a user's home directory on a standalone system. When AutoFS is running, you cannot create any new entries in this directory. |
|
/kernel |
Directory of platform-independent loadable kernel modules required as part of the boot process. It includes the generic part of the core kernel that is platform independent, /kernel/genunix. See Table 40-3 for the /platform and /usr/platform directory structure. |
|
/mnt |
Convenient, temporary mount point for file systems |
|
/opt |
Default directory or mount point for add-on application packages |
|
/sbin |
Essential executables used in the booting process and in manual system failure recovery |
|
/stand |
Standalone programs |
|
/tmp |
Temporary files; cleared during boot sequence |
|
/usr |
Mount point for the /usr file system. See Table 40-2 for more information. |
|
/var |
Directory for varying files, which usually includes temporary, logging, or status files |
|
/var/adm |
System logging and accounting files |
|
/var/audit |
Basic Security Module (BSM) audit files |
|
/var/crash |
Default depository for kernel crash dumps |
|
/var/cron |
cron's log file |
|
/var/dmi |
Solstice Enterprise AgentsTM (SEA) Desktop Management Interface (DMI) run time components |
| /var/dt |
dtlogin configuration files |
| /var/ftp |
FTP server directory |
|
/var/inet |
IPv6 router state files |
|
/var/log |
System log files |
|
/var/lp |
Line printer subsystem logging information |
|
/var/mail |
Directory where users' mail is kept |
|
/var/news |
Community service messages (note: not the same as USENET-style news) |
|
/var/nis |
NIS+ databases |
|
/var/nfs |
NFS server log files |
|
/var/ntp |
Network Time Protocol (NTP) server state directory |
|
/var/opt |
Root of a subtree for varying files associated with software packages |
|
/var/preserve |
Backup files for vi and ex |
|
/var/run |
Temporary system files that are not needed across system reboots. This is a TMPFS-mounted directory. |
|
/var/sadm |
Databases maintained by the software package management utilities |
|
/var/saf |
saf (service access facility) logging and accounting files |
|
/var/spool |
Directories for spooled temporary files |
|
/var/spool/cron |
cron and at spool files |
|
/var/spool/locks |
Spooling lock files |
|
/var/spool/lp |
Line printer spool files |
|
/var/spool/mqueue |
Mail queued for delivery |
|
/var/spool/pkg |
Spooled packages |
|
/var/spool/uucp |
Queued uucp jobs |
|
/var/spool/uucppublic |
Files deposited by uucp |
|
/var/statmon |
Network status monitor files |
|
/var/tmp |
Directory for temporary files; not cleared during boot sequence |
|
/var/uucp |
uucp log and status files |
|
/var/yp |
NIS databases (for backwards compatibility with NIS and unnecessary after full transition to NIS+) |
The table below describes the default directories in the /usr file system.
Table 40-2 Default Directories in the /usr File System|
Directory |
Description |
|---|---|
|
4lib |
SunOS 4.1 binary compatibility package libraries |
|
5bin |
Symbolic link to the /usr/bin directory |
|
X |
Symbolic link to the /usr/openwin directory |
|
adm |
Symbolic link to the /var/adm directory |
|
aset |
Directory for Automated Security Enhancement Tools (ASET) programs and files |
|
bin |
Location for standard system commands |
|
ccs |
C compilation programs and libraries |
|
demo |
Demo programs and data |
|
dict |
Symbolic link to the /usr/share/lib/dict directory, which contains the dictionary file used by the UNIX spell program |
|
dt |
Directory or mount point for CDE software |
|
games |
An empty directory, which is a remnant of the SunOS 4.0/4.1 software |
|
include |
Header files (for C programs, etc.) |
|
java* |
Directories containing JavaTM programs and libraries |
|
kernel |
Additional kernel modules |
|
kvm |
Implementation architecture-specific binaries and libraries |
|
lib |
Various program libraries, architecture-dependent databases, and binaries not invoked directly by the user |
|
local |
Commands local to a site |
|
|
Symbolic link to the /var/mail directory |
|
man |
Symbolic link to the /usr/share/man directory |
|
net |
Directory for network listener services |
|
news |
Symbolic link to the /var/news directory |
|
oasys |
Files pertaining to the Form and Menu Language Interpreter (FMLI) execution environment |
|
old |
Programs that are being phased out |
|
openwin |
Directory or mount point for OpenWindows software |
|
perl5 |
Perl 5 programs and documentation |
|
platform |
See Table 40-3 for more information |
|
preserve |
Symbolic link to the /var/preserve directory |
|
proc |
Directory for the proc tools |
|
pub |
Files for online man page and character processing |
|
sadm |
Various files and directories related to system administration |
|
sbin |
Executables for system administration |
|
sbin/static |
Statically linked version of selected programs from /usr/bin and /usr/sbin |
|
share |
Architecture-independent sharable files |
|
share/lib |
Architecture-independent databases |
|
share/src |
Source code for kernel, libraries, and utilities |
|
snadm |
Programs and libraries related to system and network administration |
|
spool |
Symbolic link to the /var/spool directory |
|
src |
Symbolic link to the share/src directory |
|
tmp |
Symbolic link to the var/tmp directory |
|
ucb |
Berkeley compatibility package binaries |
|
ucbinclude |
Berkeley compatibility package header files |
|
ucblib |
Berkeley compatibility package libraries |
|
vmsys |
Directory for Framed Access Command Environment (FACE) programs |
|
xpg4 |
Directory for POSIX-compliant utilities |