xref: /csrg-svn/share/man/man7/hier.7 (revision 61609)
1*61609Sbostic.\" Copyright (c) 1990, 1993
2*61609Sbostic.\"	The Regents of the University of California.  All rights reserved.
320957Smckusick.\"
450502Scael.\" %sccs.include.redist.roff%
520957Smckusick.\"
6*61609Sbostic.\"	@(#)hier.7	8.1 (Berkeley) 06/05/93
743671Strent.\"
843671Strent.Dd
943671Strent.Dt HIER 7
1050502Scael.Os
1143671Strent.Sh NAME
1243671Strent.Nm hier
1343671Strent.Nd layout of filesystems
1443671Strent.Sh DESCRIPTION
1543671StrentA sketch of the filesystem hierarchy.
1650502Scael.Bl -tag -width "/stand/"
1750502Scael.It Li /
1843671Strentroot directory of the filesystem
1950502Scael.It Li /bin/
2043671Strentuser utilities fundamental to both single-user and multi-user environments
2150502Scael.It Li /dev/
2243671Strentblock and character device files
2350502Scael.Pp
2450502Scael.Bl -tag -width MAKEDEV -compact
2550502Scael.It Li MAKEDEV
2650502Scaelscript for creating device files;
2750502Scaelsee
2850502Scael.Xr makedev 8
2950502Scael.It Li fd/
3050502Scaelfile descriptor files;
3150502Scaelsee
3250502Scael.Xr \&fd 4
3350502Scael.El
3450502Scael.It Li /etc/
3543671Strentsystem configuration files and scripts
3650502Scael.Pp
3750502Scael.Bl -tag -width "disklabels/" -compact
3850502Scael.It Li localtime
3950502Scaellocal timezone information;
4050502Scaelsee
4150502Scael.Xr ctime 3
4250502Scael.It Li disklabels/
4350502Scaelbackup disklabels;
4450502Scaelsee
4550502Scael.Xr disklabel 8
4650502Scael.It Li kerberosIV/
4750502Scaelconfiguration files for the kerberos version IV;
4850502Scaelsee
4950502Scael.Xr kerberos 1
5050502Scael.It Li mtree/
5150502Scaelmtree configuration files;
5250502Scaelsee
5350502Scael.Xr mtree 1
5450502Scael.It Li namedb/
5550502Scaelnamed configuration files;
5650502Scaelsee
5750502Scael.Xr named 8
5850502Scael.El
5950502Scael.It Li /mnt/
6050502Scaelempty directory commonly used by
6150502Scaelsystem administrators as a temporary mount point
6250502Scael.It Li /sbin/
6350502Scaelsystem programs and administration utilities
6450502Scaelfundamental to both single-user and multi-user environments
6550502Scael.It Li /stand/
6643671Strentprograms used in a standalone environment
6750502Scael.It Li /tmp/
6850502Scaeltemporary files, usually a
6950502Scael.Xr mfs 8
7050502Scaelmemory-based filesystem (the contents
7143671Strentof /tmp are usually NOT preserved across a system reboot)
7250502Scael.It Li /usr/
7343671Strentcontains the majority of user utilities and applications
7450502Scael.Pp
7550502Scael.Bl -tag -width "libdata/" -compact
7650502Scael.It Li bin/
7743671Strentcommon utilities, programming tools, and applications
7850502Scael.It Li contrib/
7943671Strentlarge packages contributed to Berkeley by outside parties
8050502Scael.It Li games/
8143671Strentuseful and semi-frivolous programs
8250502Scael.It Li include/
8343671Strentstandard C include files
8450502Scael.Pp
8550502Scael.Bl -tag -width "kerberosIV/" -compact
8650502Scael.It Li X11/
8743671StrentC include files for X11 window system
8850502Scael.It Li arpa/
8943671StrentC include files for Internet service protocols
9050502Scael.It Li kerberosIV/
9150502ScaelC include files for kerberos authentication package;
9250502Scaelsee
9350502Scael.Xr kerberos 1
9450502Scael.It Li machine/
9543671Strentmachine specific C include files
9650502Scael.It Li net/
9743671Strentmisc network C include files
9850502Scael.It Li netimp/
9950502ScaelC include files for IMP protocols;
10050502Scaelsee
10150502Scael.Xr imp 4
10250502Scael.It Li netinet/
10350502ScaelC include files for Internet standard protocols;
10450502Scaelsee
10550502Scael.Xr inet 4
10650502Scael.It Li netiso/
10750502ScaelC include files for ISO standard protocols;
10850502Scaelsee
10950502Scael.Xr iso 4
11050502Scael.It Li netns/
11150502ScaelC include files for XNS standard protocols;
11250502Scaelsee
11350502Scael.Xr \&ns 4
11450502Scael.It Li nfs/
11543671StrentC include files for NFS (Network File System)
11650502Scael.It Li pascal/
11750502Scaelinclude files for pc 1
11850502Scael.It Li protocols/
11943671StrentC include files for Berkeley service protocols
12050502Scael.It Li sys/
12143671Strentsystem C include files (kernel data structures)
12250502Scael.It Li ufs/
12343671StrentC include files for UFS (The U-word File System)
12450502Scael.El
12550502Scael.Pp
12650502Scael.It Li lib/
12743671Strentarchive libraries
12850502Scael.Pp
12950502Scael.Bl -tag -width Fl -compact
13050502Scael.It Li uucp/
13143671StrentUUCP configuration files (historically placed; to be moved)
13250502Scael.El
13350502Scael.It Li libdata/
13443671Strentmisc. utility data files
13550502Scael.It Li libexec/
13643671Strentsystem daemons & system utilities (executed by other programs)
13750502Scael.It Li local/
13843671Strentlocal executables, libraries, etc.
13950502Scael.It Li obj/
14043671Strentarchitecture-specific target tree produced by building the /usr/src tree
14150502Scael.It Li old/
14243671Strentprograms from past lives of BSD which may disappear in future
14343671Strentreleases
14450502Scael.It Li sbin/
14543671Strentsystem daemons & system utilities (executed by users)
14650502Scael.It Li share/
14743671Strentarchitecture-independent ascii text files
14850502Scael.Pp
14950502Scael.Bl -tag -width "calendar/" -compact
15050502Scael.It Li calendar/
15150502Scaela variety of pre-fab calendar files;
15250502Scaelsee
15350502Scael.Xr calendar 1
15450502Scael.It Li dict/
15550502Scaelword lists;
15650502Scaelsee
15750502Scael.Xr look 1
15850502Scael.Pp
15950502Scael.Bl -tag -width Fl -compact
16050502Scael.It Li words
16143671Strentcommon words
16250502Scael.It Li web2
16343671Strentwords from Webster's 2nd International
16450502Scael.It Li papers/
16550502Scaelreference databases;
16650502Scaelsee
16750502Scael.Xr refer 1
16850502Scael.It Li special/
16950502Scaelcustom word lists;
17050502Scaelsee
17150502Scael.Xr spell 1
17250502Scael.El
17350502Scael.Pp
17450502Scael.It Li doc/
17550502Scaelmisc documentation;
17650502Scaelsrc for most of the printed
17750502Scael.Bx BSD
17850502Scaelmanuals (available
17950502Scaelfrom the
18050502Scael.Tn USENIX
18150502Scaelassociation)
18250502Scael.It Li games/
18343671Strentascii text files used by various games
18450502Scael.It Li man/
18543671Strentmanual pages
18650502Scael.It Li me/
18743671Strentmacros for use with the me macro package
18850502Scael.It Li misc/
18943671Strentmisc system-wide ascii text files
19050502Scael.Bl -tag -width Fl -compact
19150502Scael.It Li termcap
19250502Scaelterminal characteristics database;
19350502Scaelsee
19450502Scael.Xr termcap 5
19550502Scael.El
19650502Scael.It Li mk/
19750502Scaeltemplates for make;
19850502Scaelsee
19950502Scael.Xr make 1
20050502Scael.It Li ms/
20143671Strentmacros for use with the ms macro package
20250502Scael.It Li skel/
20343671Strentexample . (dot) files for new accounts
20450502Scael.It Li tabset/
20543671Strenttab description files for a variety of terminals; used in
20650502Scaelthe termcap file;
20750502Scaelsee
20850502Scael.Xr termcap 5
20950502Scael.It Li tmac/
21050502Scaeltext processing macros;
21150502Scaelsee
21250502Scael.Xr nroff 1
21350502Scaeland
21450502Scael.Xr troff 1
21550502Scael.It Li zoneinfo/
21650502Scaeltimezone configuration information;
21750502Scaelsee
21850502Scael.Xr tzfile 5
21950502Scael.El
22050502Scael.Pp
22150502Scael.It Li src/
22243671StrentBSD and/or local source files
22350502Scael.Pp
22450502Scael.Bl -tag -width "kerberosIV/" -compact
22550502Scael.It Li bin/
22643671Strentsrc for files in /bin
22750502Scael.It Li contrib/
22843671Strentsrc for files in /usr/contrib
22950502Scael.It Li etc/
23043671Strentsrc for files in /etc
23150502Scael.It Li games/
23243671Strentsrc for files in /usr/games
23350502Scael.It Li include/
23443671Strentsrc for files in /usr/include
23550502Scael.It Li kerberosIV/
23643671Strentsrc for kerberos version IV
23750502Scael.It Li lib/
23843671Strentsrc for files in /usr/lib
23950502Scael.It Li libexec/
24043671Strentsrc for files in /usr/libexec
24150502Scael.It Li local/
24243671Strentsrc for files in /usr/local
24350502Scael.It Li old/
24443671Strentsrc for files in /usr/old
24550502Scael.It Li pgrm/
24643671Strentsrc for programming tools in /usr/bin
24750502Scael.It Li sbin/
24843671Strentsrc for files in /sbin
24950502Scael.It Li share/
25043671Strentsrc for files in /usr/share
25150502Scael.It Li sys/
25243671Strentkernel src files
25350502Scael.It Li usr.bin/
25443671Strentsrc for files in /usr/bin
25550502Scael.It Li usr.sbin/
25643671Strentsrc for files in /usr/sbin
25750502Scael.El
25850502Scael.El
25950502Scael.It Li /var/
26043671Strentmulti-purpose log, temporary, transient, and spool files
26150502Scael.Pp
26250502Scael.Bl -tag -width "preserve/" -compact
26350502Scael.It Li account/
26443671Strentsystem accounting files
26550502Scael.Pp
26650502Scael.Bl -tag -width Fl -compact
26750502Scael.It Li acct
26850502Scaelexecution accounting file;
26950502Scaelsee
27050502Scael.Xr acct 5
27150502Scael.El
27250502Scael.Pp
27350502Scael.It Li at/
27450502Scaeltimed command scheduling files;
27550502Scaelsee
27650502Scael.Xr \&at 1
27750502Scael.It Li backups/
27843671Strentmisc. backup files
27950502Scael.It Li db/
28043671Strentmisc. automatically generated system-specific database files
28150502Scael.It Li games/
28243671Strentmisc. game status and log files
28350502Scael.It Li log/
28443671Strentmisc. system log files
28550502Scael.Pp
28650502Scael.Bl -tag -width Fl -compact
28750502Scael.It Li wtmp
28850502Scaellogin/logout log;
28950502Scaelsee
29050502Scael.Xr wtmp 5
29150502Scael.El
29250502Scael.Pp
29350502Scael.It Li mail/
29443671Strentuser mailbox files
29550502Scael.It Li preserve/
29643671Strenttemporary home of files preserved after an accidental death
29750502Scaelof an editor;
29850502Scaelsee
29950502Scael.Xr \&ex 1
30050502Scael.It Li quotas/
30143671Strentfilesystem quota information files
30250502Scael.It Li run/
30343671Strentsystem information files describing various info about
30443671Strentsystem since it was booted
30550502Scael.Pp
30650502Scael.Bl -tag -width Fl -compact
30750502Scael.It Li utmp
30850502Scaeldatabase of current users;
30950502Scaelsee
31050502Scael.Xr utmp 5
31150502Scael.El
31250502Scael.Pp
31350502Scael.It Li rwho/
31450502Scaelrwho data files;
31550502Scaelsee
31650502Scael.Xr rwhod 8 ,
31750502Scael.Xr rwho 1 ,
31850502Scaeland
31950502Scael.Xr ruptime 1
32050502Scael.It Li spool/
32143671Strentmisc. printer and mail system spooling directories
32250502Scael.Pp
32350502Scael.Bl -tag -width Fl -compact
32450502Scael.It Li ftp/
32543671Strentcommonly ~ftp; the anonymous ftp root directory
32650502Scael.It Li mqueue/
32750502Scaelundelivered mail queue;
32850502Scaelsee
32950502Scael.Xr sendmail 8
33050502Scael.It Li output/
33143671Strentline printer spooling directories
33250502Scael.It Li secretmail/
33350502Scaelsecretmail spool directory;
33450502Scaelsee
33550502Scael.Xr xget 1
33650502Scael.It Li uucp/
33743671Strentuucp spool directory
33850502Scael.It Li uucppublic/
33943671Strentcommonly ~uucp; public uucp temporary directory
34050502Scael.El
34150502Scael.Pp
34250502Scael.It Li tmp/
34343671Strenttemporary files that are kept between system reboots
34450502Scael.El
34550502Scael.It Li /vmunix
34643671Strentpure kernel executable (the operating system loaded into memory
34743671Strentat boot time).
34850502Scael.El
34943671Strent.Sh SEE ALSO
35050502Scael.Xr \&ls 1 ,
35143671Strent.Xr apropos 1 ,
35243671Strent.Xr whatis 1 ,
35343671Strent.Xr whereis 1 ,
35443671Strent.Xr finger 1 ,
35543671Strent.Xr which 1 ,
35643671Strent.Xr find 1 ,
35743671Strent.Xr grep 1  ,
35843671Strent.Xr fsck 8
35943671Strent.Sh HISTORY
36050502ScaelA
36150502Scael.Nm hier
36250502Scaelmanual page appeared in
36350502Scael.At v7 .
364