hier.7 revision 78824
Copyright (c) 1990, 1993
The Regents of the University of California. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

@(#)hier.7 8.1 (Berkeley) 6/5/93
$FreeBSD: head/share/man/man7/hier.7 78824 2001-06-26 14:03:11Z nik $

.Dd June 5, 1993 .Dt HIER 7 .Os .Sh NAME .Nm hier .Nd layout of filesystems .Sh DESCRIPTION A sketch of the filesystem hierarchy. l -tag -width "/stand/" t Pa / root directory of the filesystem t Pa /bin/ user utilities fundamental to both single-user and multi-user environments t Pa /boot/ programs and configuration files used during operating system bootstrap

p l -tag -width defaults/ -compact t Pa defaults/ default bootstrapping configuration files; see .Xr loader.conf 5 t Pa kernel/ pure kernel executable (the operating system loaded into memory at boot time). t Pa modules/ third-part loadable kernel modules; see .Xr kldstat 8 .El t Pa /cdrom/ default mount point for CD-ROM drives t Pa /compat/ normally a link to

a /usr/compat . If not, then the

a /usr/compat comments apply. t Pa /dev/ block and character device files

p l -tag -width MAKEDEV -compact t Pa MAKEDEV script for creating device files; see .Xr MAKEDEV 8 t Pa fd/ file descriptor files; see .Xr fd 4 .El t Pa /dist/ extraction directory used by .Xr sysinstall 8 t Pa /etc/ system configuration files and scripts

p l -tag -width "disklabels/" -compact t Pa defaults/ default system configuration files; see .Xr rc 8 t Pa gnats/ gnats configuration files; see .Xr send-pr 1 t Pa isdn/ isdn4bsd configuration files; see .Xr isdnd 8 t Pa kerberosIV/ configuration files for kerberos version IV; see .Xr kerberos 1 t Pa localtime local timezone information; see .Xr ctime 3 t Pa mail/ Sendmail control files t Pa mtree/ mtree configuration files; see .Xr mtree 8 t Pa namedb/ named configuration files; see .Xr named 8 t Pa periodic/ scripts that are run daily, weekly, and monthly, via .Xr cron 8 ; see .Xr periodic 8 t Pa ppp/ ppp configuration files; see .Xr ppp 8 t Pa ssl/ OpenSSL configuration files t Pa uucp/ uucp configuration files; see .Xr uucp 1 .El t Pa /mnt/ empty directory commonly used by system administrators as a temporary mount point t Pa /proc/ process file system; see .Xr procfs 5 , .Xr mount_procfs 8 t Pa /root/ root's HOME directory t Pa /sbin/ system programs and administration utilities fundamental to both single-user and multi-user environments t Pa /stand/ programs used in a standalone environment t Pa /tmp/ temporary files t Pa /usr/ contains the majority of user utilities and applications

p l -tag -width "libdata/" -compact t Pa bin/ common utilities, programming tools, and applications t Pa compat/ files needed to support binary compatability with other operating systems, such as Linux t Pa games/ useful and semi-frivolous programs t Pa include/ standard C include files

p l -tag -width "kerberosIV/" -compact t Pa arpa/ C include files for Internet service protocols t Pa cam/ C include files for the Common Access Methods Layer l -tag -width "kerberosIV/" -compact t scsi/ The SCSI device on top of CAM .El t Pa dev/ C include files for programming various .Fx devices l -tag -width "kerberosIV/" -compact t Pa ic/ Various header files describing driver- and bus-independent hardware circuits t Pa ppbus/ The parallel port bus; see .Xr ppbus 4 t Pa usb/ The USB subsystem t Pa wi/ The .Xr wi 4 WaveLAN driver .El t Pa fs/ l -tag -width "kerberosIV/" -compact t Pa fdescfs/ per-process file descriptors file system t Pa fifofs/ .St -p1003.1 FIFOs file system t Pa msdosfs/ MS-DOS file system t Pa ntfs/ NTFS file system t Pa nullfs/ loopback file system t Pa nwfs/ NetWare file system t Pa portalfs/ portal file system t Pa procfs/ process file system t Pa smbfs/ SMB/CIFS filesystem t Pa umapfs/ alternate uid/gid mappings file system t Pa unionfs union file system .El t Pa g++/ GNU C++ include files l -tag -width "kerberosIV/" -compact t Pa std/ GNU C++ libstdc++ include files .El t Pa isc/ ISC utility library libisc include files t Pa isofs/ l -tag -width "kerberosIV/" -compact t Pa cd9660/ iso9660 filesystem .El t Pa kerberosIV/ C include files for kerberos authentication package; see .Xr kerberos 1 t Pa machine/ machine-specific C include files t Pa net/ misc network C include files t Pa netatalk/ Appletalk protocol t Pa netatm/ ATM include files; see .Xr atm 8 t Pa netinet/ C include files for Internet standard protocols; see .Xr inet 4 t Pa netinet6/ C include files for Internet protocol version 6; see .Xr inet6 4 t Pa netipx/ IPX/SPX protocol stacks t Pa netkey/ kernel key-management service t Pa netns/ Xerox NS protocols t Pa netsmb/ SMB/CIFS requester t Pa netnatm/ NATM include files; see .Xr natm 4 t Pa nfs/ C include files for NFS (Network File System) t Pa objc/ Objective C include files t Pa openssl/ OpenSSL (Cryptography/SSL toolkit) headers t Pa pccard/ PC-CARD controllers t Pa posix4/ POSIX real-time extensions includes; see .Xr p1003_1b 9 t Pa protocols/ C include files for Berkeley service protocols t Pa readline/ get a line from a user, with editing; see .Xr readline 3 t Pa rpc/ remote procedure calls; see .Xr rpc 3 t Pa rpcsvc/ definition of RPC service structures; see .Xr rpc 3 t Pa security/ PAM; see .Xr pam 8 t Pa ss/ MIT SIPB .Sq subsystem library, part of Kerberos IV. t Pa sys/ system C include files (kernel data structures) .It Pa tcl/
Tcl language;
see
.Xr Tcl n
.Bl -tag -width "kerberosIV/" -compact
.It Pa generic/
???
.It Pa unix/
???
.El
t Pa ufs/ C include files for UFS (The U-word File System) l -tag -width "kerberosIV/" -compact t Pa ffs/ Fast filesystem t Pa ufs/ UFS filesystem .El t Pa vm/ virtual memory; see .Xr vmstat 8 .El

p t Pa lib/ archive libraries l -tag -width Fl -compact t Pa aout/ a.out archive libraries t Pa compat/ shared libraries for compatibility l -tag -width Fl -compact t Pa aout/ a.out backward compatibility libraries .El .El

p t Pa libdata/ misc. utility data files l -tag -width Fl -compact t Pa doscmd/ files used by doscmd (drivers, fonts, etc.); see .Xr doscmd 1 l -tag -width 6n -compact t Pa fonts/ fonts used by doscmd .El t Pa gcc/ ??? t Pa ldscripts/ linker scripts; see .Xr ld 1 t Pa lint/ various prebuilt lint libraries; see .Xr lint 1 t Pa msdosfs/ Character set conversion tables t Pa perl/ l -tag -width Fl -compact t Pa 5.00503/ contains Perl modules for Perl version 5.00503; see .Xr perl 1 .El t Pa stallion/ holds the download firmware images .El

p t Pa libexec/ system daemons & system utilities (executed by other programs) l -tag -width Fl -compact t Pa aout/ utilities to manipulate a.out executables t Pa elf/ utilities to manipulate ELF executables t Pa lpr/ utilities and filters for LP print system; see .Xr lpr 1 t Pa sm.bin/ restricted shell for sendmail; see .Xr smrsh 8 t Pa uucp/ uucp utilities; see .Xr uucp 1 .El

p t Pa local/ local executables, libraries, etc. Also used as the default destination for the .Fx ports framework. Within local/, the general layout sketched out by .Xr hier 7 for /usr should be used. Exceptions are the man directory (directly under local/ rather than under local/share/), ports documentation (in share/doc/<port>/), and /usr/local/etc (mimics /etc). t Pa obj/ architecture-specific target tree produced by building the /usr/src tree t Pa ports/ The .Fx ports collection (optional). t Pa sbin/ system daemons & system utilities (executed by users) t Pa share/ architecture-independent files

p l -tag -width "calendar/" -compact t Pa calendar/ a variety of pre-fab calendar files; see .Xr calendar 1 t Pa dict/ word lists; see .Xr look 1

p l -tag -width Fl -compact t Pa words common words t Pa web2 words from Webster's 2nd International t Pa papers/ reference databases; see .Xr refer 1 t Pa special/ custom word lists; see .Xr spell 1 .El

p t Pa doc/ miscellaneous documentation; source for most of the printed x manuals (available from the .Tn USENIX association) l -tag -width Fl -compact t Pa FAQ/ Frequently Asked Questions t Pa IPv6/ implementation notes for IPv6 t Pa bind/ documents pertaining to BIND (the Berkeley Internet Name Domain) t Pa es/ Spanish translations of documents in /usr/share/doc t Pa handbook/ .Fx Handbook t Pa ja/ Japanese translations of documents in /usr/share/doc t Pa ncurses/ HTML documents pertaining to ncurses; see .Xr ncurses 3X t Pa ntp/ HTML documents pertaining to the Network Time Protocol t Pa papers/ UNIX Papers t Pa psd/ UNIX Programmer's Supplementary Documents t Pa ru/ Russian translations of documents in /usr/share/doc t Pa smm/ UNIX System Manager's Manual t Pa tutorials/ .Fx tutorials t Pa usd/ UNIX User's Supplementary Documents t Pa zh/ Chinese translations of documents in /usr/share/doc .El

p t Pa examples/ various examples for users and programmers t Pa games/ ASCII text files used by various games t Pa groff_font/ device description file for device name t Pa info/ GNU Info hypertext system t Pa isdn/ ISDN t Pa libg++/ libg++'s genclass prototype/template class files t Pa locale/ localization files; see .Xr setlocale 3 t Pa man/ manual pages t Pa me/ macros for use with the me macro package; see .Xr me 7 t Pa misc/ misc system-wide ASCII text files l -tag -width Fl -compact t Pa fonts/ ??? t Pa pcvtfonts/ pcvt fonts; see .Xr pcvt 4 t Pa termcap terminal characteristics database; see .Xr termcap 5 .El t Pa mk/ templates for make; see .Xr make 1 t Pa nls/ national language support files; see .Xr mklocale 1 t Pa pcvt/ pcvt documentation and etc examples; see .Xr pcvt 4 t Pa perl/ perl library files; see .Xr perl 1 t Pa sendmail/ sendmail configuration files; see .Xr sendmail 8 t Pa skel/ example . (dot) files for new accounts t Pa syscons/ files used by syscons; see .Xr syscons 4 l -tag -width "scrnmaps/xx" -compact t Pa fonts/ console fonts; see .Xr vidcontrol 1 and .Xr vidfont 1 t Pa keymaps/ console keyboard maps; see .Xr kbdcontrol 1 and .Xr kbdmap 1 t Pa scrnmaps/ console screen maps .El t Pa tabset/ tab description files for a variety of terminals; used in the termcap file; see .Xr termcap 5 t Pa tmac/ text processing macros; see .Xr nroff 1 and .Xr troff 1 t Pa vi/ localization support and utilities for .Xr vi 1 t Pa zoneinfo/ timezone configuration information; see .Xr tzfile 5 .El t Pa src/ BSD, third-party, and/or local source files

p l -tag -width "kerberosIV/" -compact t Pa bin/ source code for files in /bin t Pa contrib/ source code for contributed software t Pa crypto/ source code for contributed cryptography software t Pa etc/ source code for files in /etc t Pa games/ source code for files in /usr/games t Pa gnu/ Utilities covered by the GNU General Public License t Pa include/ source code for files in /usr/include t Pa kerberosIV/ source code for kerberos version IV t Pa lib/ source code for files in /usr/lib t Pa libexec/ source code for files in /usr/libexec t Pa release/ files required to produce a .Fx release t Pa sbin/ source code for files in /sbin t Pa secure/ build directory for files in /usr/src/crypto t Pa share/ source for files in /usr/share t Pa sys/ kernel source code t Pa tools/ tools used for maintenance and testing of .Fx t Pa usr.bin/ source code for files in /usr/bin t Pa usr.sbin/ source code for files in /usr/sbin .El

p t Pa X11R6/ X11R6 distribution executables, libraries, etc (optional). l -tag -width "include/" -compact t Pa bin/ X11R6 binaries (servers, utilities, local packages/ports). t Pa etc/ X11R6 configuration files and scripts. t Pa include/ X11R6 include files. t Pa lib/ X11R6 libraries. t Pa man/ X11R6 manual pages. t Pa share/ architecture-independent files. .El .El t Pa /var/ multi-purpose log, temporary, transient, and spool files

p l -tag -width "preserve/" -compact t Pa account/ system accounting files

p l -tag -width Fl -compact t Pa acct execution accounting file; see .Xr acct 5 .El

p t Pa at/ timed command scheduling files; see .Xr at 1 l -tag -width "preserve/" -compact t Pa jobs/ directory containing job files t Pa spool/ directory containing output spool files .El

p t Pa backups/ misc. backup files t Pa crash/ default directory to store kernel crash dumps; see .Xr crash 8 and .Xr savecore 8 t Pa cron/ files used by cron; see .Xr cron 8 l -tag -width "preserve/" -compact t Pa tabs/ crontab files; see .Xr crontab 5 .El

p t Pa db/ misc. automatically generated system-specific database files t Pa games/ misc. game status and score files t Pa log/ misc. system log files

p l -tag -width Fl -compact t Pa wtmp login/logout log; see .Xr wtmp 5 .El

p t Pa mail/ user mailbox files t Pa preserve/ temporary home of files preserved after an accidental death of an editor; see .Xr ex 1 t Pa msgs/ system messages database; see .Xr msgs 1 t Pa quotas/ filesystem quota information files t Pa run/ system information files describing various info about system since it was booted

p l -tag -width Fl -compact t Pa utmp database of current users; see .Xr utmp 5 .El

p t Pa rwho/ rwho data files; see .Xr rwhod 8 , .Xr rwho 1 , and .Xr ruptime 1 t Pa spool/ misc. printer and mail system spooling directories

p l -tag -width Fl -compact t Pa ftp/ commonly ~ftp; the anonymous ftp root directory t Pa mqueue/ undelivered mail queue; see .Xr sendmail 8 t Pa output/ line printer spooling directories t Pa secretmail/ secretmail spool directory; see .Xr xget 1 t Pa uucp/ uucp spool directory t Pa uucppublic/ commonly ~uucp; public uucp temporary directory .El

p t Pa tmp/ temporary files that are kept between system reboots l -tag -width Fl -compact t Pa vi.recover/ the directory where recovery files are stored .El t Pa yp/ the NIS maps .El .El .Sh SEE ALSO .Xr apropos 1 , .Xr find 1 , .Xr finger 1 , .Xr grep 1 , .Xr ls 1 , .Xr whatis 1 , .Xr whereis 1 , .Xr which 1 , .Xr fsck 8 .Sh HISTORY A .Nm manual page appeared in .At v7 .