9.x to 10.x Directory Map

Prepared by Kees Cook (c-cook@uiuc.edu) of the University of Illinois.


                Table 3-1.  9.x to 10.0 Directory Map

9.x               10.0             Description/            Private/
Directory         Directory        Comments                Shared
===================================================================
/dev            /dev               Device files for        Private
                                   local devices

/etc            /etc               Machine-specific        Private
                                   configuration and 
                                   administration 
                                   databases; no exe-
                                   cutables invoked by 
                                   users

N/A             /etc/opt/          Application-specific    Private
                application        configuration files

N/A             /etc/rc.config.d   Startup config-         Private
                                   uration files     
                                   
N/A             /export            Default root of         Server
                                   exported file           directory
                                   systems

N/A             /export/           For host-specific       Server
                private_roots      files                   directory

N/A             /export/           For shared OS and       Server
                shared_roots       applications            directory

/users          /home              Default for user        Private
                                   directories

/users/          /home/            User home directory     Private
username         username                                  directory
                                                           or local
                                                           mountpoint

/lost+found      /lost+found       Storage directory       Private
                                   for fsck 

/mnt             /mnt              Mounting point          Private
                                   for local file 
                                   systems

/net             /net              Mounting point          Private
                                   for remote file 
                                   systems

N/A              /opt              Root for optional       Private
                                   applications

/usr/            /opt/             Application exe-        Shared
application      application       cutables, libraries, 
                                   and support files

N/A                /sbin           Essential system        Shared
                                   commands (those 
                                   needed to boot 
                                   system and mount 
                                   file systems)

N/A                /sbin/init.d    Startup and shutdown    Shared
                                   scripts

N/A                /sbin/rc#.d     Startup and shutdown    Shared
                                   link files for script 
                                   sequencing

N/A                /stand          Standalone machine-     Private
                                   dependent binaries 
                                   and kernel configs

/tmp               /tmp            System-generated        Private
                                   temporary files

/usr               /usr            Mount point for         Shared
                                   sharable user  
                                   commands, libraries, 
                                   and documentation 

/usr/bin           /usr/bin        Operating system        Shared
and /bin                           user commands

N/A                /usr/ccs        Unbundled devel-        Shared
                                   opment package

N/A                /usr/ccs/bin    Development binaries    Shared

N/A                /usr/ccs/lib    Development libraries   Shared

/etc/conf          /usr/conf       Kernel configuration    Shared

/usr/contrib       /usr/contrib    Contributed software    Shared

/usr/include       /usr/include    Header files            Shared

N/A                /usr/lbin       Backends to             Shared
                                   other commands 

/usr/lib           /usr/lib        Object code and         Shared
and /lib                           object code libraries

/usr/local         /usr/local      User-contributed        Shared
                                   software  

/etc/newconfig     /usr/newconfig  Default operating       Shared
                                   system configuration 
                                   data files

N/A                /usr/old        Obsolete files          Shared

N/A                /usr/sbin       System admin-           Shared
                                   istration commands

N/A                /usr/share      Architecture-           Shared
                                   independent sharable 
                                   files

/usr/lib/spell     /usr/share/     Dictionaries for        Shared
                   dict            spell and ispell

N/A                /usr/share/     Miscellaneous           Shared
                   lib             sharable files

/usr/man           /usr/share/     Operating system        Shared
                   man             manpages   

N/A                /var            Holds files created     Private
                                   at runtime, such as 
                                   log files and temp-
                                   orary files 

/usr/adm           /var/adm        Common administrative   Private
                                   files and log files

/tmp/syscore       /var/adm/       Kernel crash dumps      Private
                   crash

/usr/lib/cron      /var/adm/cron   Cron queueing           Private

N/A                /var/adm/sw     SD directory            Private

N/A                /var/adm/sw/    Software patch          Private
                   patch           storage directory

N/A                /var/adm/       Files generated         Private
                   syslog          by syslog   

/usr/mail          /var/mail       Incoming mail           Private

/usr/news          /var/news       News                    Private

N/A                /var/opt/       Application-specific    Private
                      temporary or data 
                                   files

/usr/preserve      /var/preserve   Preserved editor files  Private

N/A                /var/run        PID files               Private

/usr/spool         /var/spool      Spooled files           Private

/usr/spool/cron    /var/spool/     Crontabs and at jobs    Private
                   cron

/usr/spool/        /var/spool/     UUCP Lock files         Private
locks              locks

/usr/spool/lp      /var/spool/lp   Printer spooling        Private

/usr/spool/        /var/spool/     Outgoing mail           Private
/mqueue            /mqueue

N/A                /var/spool/sw   Default location        Private
                                   for SD depot   

/usr/spool/        /var/spool/     UUCP spool directory    Private
uucp               uucp    

/usr/spool/        /var/spool/     Incoming UUCP files     Private
uucppublic         uucppublic   

/usr/tmp           /var/tmp        Application-            Private
                                   generated temporary 
                                   files

/usr/spool/uucp    /var/uucp       UUCP admin. files       Private