Starting with the Solaris 2.5 release, kernel modules and commands that are platform dependent have moved to new locations. The /kernel directory now contains only platform-independent objects, including a platform-independent kernel, genunix. See Table 32-2 for a description of /platform and /usr/platform, the platform-dependent directories.
Table 32-1 describes all the directories contained in the default root (/) and /usr file systems.
Table 32-1 Default Directories for root (/) and /usr File Systems
Directory |
Description |
---|---|
Directories in the root (/) file system: |
|
/ |
Root of the overall file system name space |
/dev |
Primary location for special files |
/dev/dsk |
Block disk devices |
/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/term |
Terminal devices |
/etc |
Host-specific system administrative configuration files and databases |
/etc/acct |
Accounting system configuration information |
/etc/cron.d |
Configuration information for cron |
/etc/default |
Defaults information for various programs |
/etc/dfs |
Configuration information for exported file systems |
/etc/fs |
Binaries organized by file system types for operations required before /usr is mounted. |
/etc/inet |
Configuration files for Internet services |
/etc/init.d |
Scripts for changing between run levels |
/etc/lp |
Configuration information for the printer subsystem |
/etc/mail |
Mail subsystem configuration |
/etc/net |
Configuration information for TI (transport- independent) network services |
/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/saf |
Service access facility files (including FIFOs) |
/etc/skel |
Default profile scripts for new user accounts |
/etc/sm |
Status monitor information |
/etc/sm.bak |
Backup copy of status monitor information |
/etc/tm |
Trademark files; contents displayed at boot time |
/etc/uucp |
uucp configuration information |
/export |
Default root of the exported file system tree |
/home |
Default root of a subtree for user directories |
/kernel |
Subtree 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 32-2 for the /platform and /usr/platform directory structure. |
/mnt |
Convenient, temporary mount point for file systems |
/opt |
Root of a subtree for add-on application packages |
/opt/SUNWspro |
Mount/installation point for unbundled language products |
/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 /usr file system |
/var |
Root of a subtree of varying files |
/var/adm |
System logging and accounting files |
/var/crash |
Default depository for kernel crash dumps |
/var/cron |
cron's log file |
/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/opt |
Root of a subtree for varying files associated with software packages |
/var/preserve |
Backup files for vi and ex |
/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/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+) |
|
|
Directories in the /usr file system |
|
bin |
Location for standard system commands |
demo |
Demo programs and data |
games |
An empty directory, which is a remnant of the SunOS 4.0/4.1 software |
include |
Header files (for C programs, etc.) |
kernel |
Additional modules |
kvm |
Implementation architecture-specific binaries and libraries |
lib |
Various program libraries, architecture-dependent databases, and binaries not invoked directly by the user |
lib/acct |
Accounting scripts and binaries |
lib/class |
Scheduling class-specific directories containing executables for priocntl and dispadmin commands |
lib/font |
troff font description files |
lib/fs |
File system type-dependent modules; not invoked directly by the user |
lib/iconv |
Conversion tables for iconv(1) |
lib/libp |
Profiled libraries |
lib/locale |
Internationalization localization databases |
lib/lp |
Line printer subsystem databases and back-end executables |
lib/mail |
Auxiliary programs for the mail subsystem |
lib/netsvc |
Internet network services |
lib/nfs |
Auxiliary programs and daemons related to NFS |
lib/pics |
PIC archives needed to build the run-time linker |
lib/refer |
Auxiliary refer-related programs |
lib/sa |
Scripts and commands for the system activity report package |
lib/saf |
Auxiliary programs and daemons related to the service access facility |
lib/sparcv9 |
64-bit Solaris libraries |
lib/uucp |
Auxiliary uucp-related programs and daemons |
lib/zoneinfo |
Time zone information |
local |
Commands local to a site |
old |
Programs that are being phased out |
openwin |
Mount/installation point for OpenWindows software |
sadm |
Various files and directories related to system administration; see specifics below |
sadm/bin |
"valtools" binaries for use by FMLI scripts |
sadm/install |
Executables and scripts for pkg management |
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/lib/keytables |
Keyboard layout description tables |
share/lib/mailx |
mailx-related help files |
share/lib/nterm |
nroff terminal tables |
share/lib/pub |
Various data files |
share/lib/spell |
Auxiliary spell-related databases and scripts |
share/lib/tabset |
Tab setting escape sequences |
share/lib/terminfo |
terminfo-style terminal description files |
share/lib/tmac |
[nt]roff macro packages |
share/src |
Source code for kernel, libraries, and utilities |
ucb |
Berkeley compatibility package binaries |
ucbinclude |
Berkeley compatibility package header files |
ucblib |
Berkeley compatibility package libraries |