Solaris 1.x to Solaris 2.x Transition Guide
검색에만이 책은
PDF로 이 문서 다운로드

/ and /usr File Systems Changes

E

This Appendix shows the layout of directories in the / and /usr file systems. Appendix A, "Commands Reference Table", explains differences in commands within these directories.

Layout of the / File System

Table E-1 shows the layout of the SunOS 5.4 / file system, which contains directories that are unique to each system.
Table E-1 /
DirectoryDescription
/Root of the overall file system name space
/devPrimary location for special files
/dev/dskBlock disk devices
/dev/rdskRaw disk devices
/dev/ptsPseudo terminal slave devices
/dev/rmtRaw tape devices
/dev/sadEntry points for the STREAMS Administrative Driver
/dev/termTerminal devices
/etcHost-specific system administrative configuration files and databases
/etc/acctAccounting system configuration information
/etc/cron.dConfiguration information and FIFO for cron
Table E-1 /
DirectoryDescription
/etc/defaultDefault information for various programs
/etc/dfsConfiguration information for exported file systems
/etc/fsBinaries organized by file system types for operations required before /usr is mounted
/etc/inetConfiguration files for Internet services
/etc/init.dScripts for transitioning among run levels
/etc/libShared libraries needed during booting
/etc/lpConfiguration information for the printer subsystem
/etc/mailMail subsystem configuration
/etc/netConfiguration information for ti (transport independent) network services
/etc/optConfiguration information for optional packages
/etc/rc0.dScripts for entering or leaving run level 0
/etc/rc1.dScripts for entering or leaving run level 1
/etc/rc2.dScripts for entering or leaving run level 2
/etc/rc3.dScripts for entering or leaving run level 3
/etc/rcS.dScripts for entering or leaving run level S
/etc/safService Access Facility (SAF) files, including FIFOs
/etc/skelDefault profile scripts for new user accounts
/etc/smStatus monitor information
/etc/sm.bakBackup copy of status monitor information
/etc/tmTrademark files; contents displayed at boot time
/etc/uucpConfiguration information for uucp
/exportDefault root of the exported file system tree
/homeDefault root of a subtree for user directories
/kernelSubtree of loadable kernel modules, including the base kernel itself as /kernel/unix
/mntTemporary mount point for file systems
/optRoot of a subtree for add-on application packages
/opt/sunwsproMount/installation point for unbundled language products
Table E-1 /
DirectoryDescription
/sbinEssential executables used in the booting process and in manual system failure recovery
/tmpTemporary files; cleared during boot sequence
/usrMount point for the /usr file system
/varRoot of a subtree of various files
/var/admSystem logging and accounting files
/var/crashDefault depository for kernel crash dumps
/var/cronLog file for cron
/var/lpLine printer subsystem logging information
/var/mailDirectory where users' mail is kept
/var/newsCommunity service messages (not to be confused with USENET-style news)
/var/nisNIS+ databases
/var/optRoot of a subtree for various files associated with optional software packages
/var/optionsProvides package compatibility with pre-SunOS 5.0 packages
/var/preserveBackup files for vi and ex editors
/var/sadmDatabases maintained by the software package management utilities
/var/safSystem Access Facility (SAF) logging and accounting files
/var/spoolDirectories for spooled temporary files
/var/spool/cronSpool files for cron and at
/var/spool/locksSpooling lock files
/var/spool/lpLine printer spool files
/var/spool/mqueueMail queued for delivery
/var/spool/pkgSpooled packages
/var/spool/uucpQueued uucp jobs
/var/spool/uucppublicFiles deposited by uucp
Table E-1 /
DirectoryDescription
/var/tmpDirectory for temporary files not cleared during boot sequence
/var/uucpLog and status files for uucp
/var/ypDatabases for yp (for backward compatibility with NIS and ypbind)

Layout of the /usr File System

Table E-2 shows the layout of the /usr file system, which contains architecture-dependent and architecture-independent sharable files.
Table E-2 /usr
DirectoryDescription
/usr/4libLibraries for the binary compatibility a.out package (BCP)
/usr/binLocation for standard system commands
/usr/bin/sunview1SunView executables, part of BCP
/usr/ccsThe C compilation system
/usr/ccs/binBinaries
/usr/ccs/libLibraries and auxiliary files
/usr/demoDemo programs and data
/usr/gamesGame binaries and data
/usr/includeInclude header files (for C programs, etc.)
/usr/kerneladditional modules
/usr/kvmImplementation architecture-specific binaries and
libraries
/usr/libVarious program libraries, architecture-dependent databases, and binaries not invoked directly by the user
/usr/lib/acctAccounting scripts and binaries
/usr/lib/dictDatabase files for the spell command
/usr/lib/classScheduling class-specific directories containing executables for priocntl and dispadmin commands
Table E-2 /usr
DirectoryDescription
/usr/lib/fontFont description files for troff
/usr/lib/fsFile system type dependent modules; not invoked directly by the user
/usr/lib/iconvConversion tables for iconv
/usr/lib/libpProfiled libraries
/usr/lib/localeInternationalization and localization databases
/usr/lib/lpLine printer subsystem databases and backend executables
/usr/lib/mailAuxiliary programs for the mail subsystem
/usr/lib/netsvcInternet network services
/usr/lib/nfs(R) Auxiliary NFS -related programs and daemons
/usr/lib/picsPIC archives needed to build the runtime linker
/usr/lib/referPreprocessor for nroff/troff
/usr/lib/saScripts and commands for the system activity report package
/usr/lib/safAuxiliary programs and daemons related to the Service Access Facility (SAF)
/usr/lib/spellAuxiliary spell-related programs and databases
/usr/lib/uucpAuxiliary uucp-related programs and daemons
/usr/localCommands local to a site
/usr/net/serversEntry points for foreign name service requests related by the listener
/usr/oasysFiles pertaining to the optional FACE package
/usr/oldPrograms that are being phased out
/usr/openwinMount or installation point for OpenWindows software
/usr/sadmVarious files and directories related to system administration
/usr/sadm/binBinaries for use by FMLI scripts
/usr/sadm/installExecutables and scripts for package management
/usr/sbinExecutables for system administration
Table E-2 /usr
DirectoryDescription
/usr/sbin/staticStatically linked versions of selected programs from /usr/bin and /usr/sbin; used to recover from broken dynamic linking
/usr/shareArchitecture-independent databases
/usr/share/libArchitecture-independent databases
/usr/share/lib/keytablesKeyboard layout description tables
/usr/share/lib/mailxHelp files for mailx
/usr/share/lib/ntermTerminal tables for nroff
/usr/share/lib/pubVarious data files
/usr/share/lib/spellAuxiliary spell-related databases and scripts
/usr/share/lib/tabsetTab setting escape sequences
/usr/share/lib/terminfoTerminal description files
/usr/share/lib/tmacMacro packages for nroff and troff
/usr/share/lib/zoneinfoTime zone information
/usr/share/srcSource code for kernel, libraries, and utilities
/usr/snadmFiles associated with Administration Tool
(admintool)
/usr/ucbBerkeley compatibility package binaries
/usr/ucbincludeBerkeley compatibility package header files
/usr/ucblibBerkeley compatibility package libraries
/usr/vmsysFiles pertaining to the optional FACE package