xref: /csrg-svn/share/man/man7/hier.7 (revision 50502)
143671Strent.\" Copyright (c) 1990 The Regents of the University of California.
243671Strent.\" All rights reserved.
320957Smckusick.\"
4*50502Scael.\" %sccs.include.redist.roff%
520957Smckusick.\"
6*50502Scael.\"	@(#)hier.7	6.3 (Berkeley) 07/23/91
743671Strent.\"
843671Strent.Dd
943671Strent.Dt HIER 7
10*50502Scael.Os
1143671Strent.Sh NAME
1243671Strent.Nm hier
1343671Strent.Nd layout of filesystems
1443671Strent.Sh DESCRIPTION
1543671StrentA sketch of the filesystem hierarchy.
16*50502Scael.Bl -tag -width "/stand/"
17*50502Scael.It Li /
1843671Strentroot directory of the filesystem
19*50502Scael.It Li /bin/
2043671Strentuser utilities fundamental to both single-user and multi-user environments
21*50502Scael.It Li /dev/
2243671Strentblock and character device files
23*50502Scael.Pp
24*50502Scael.Bl -tag -width MAKEDEV -compact
25*50502Scael.It Li MAKEDEV
26*50502Scaelscript for creating device files;
27*50502Scaelsee
28*50502Scael.Xr makedev 8
29*50502Scael.It Li fd/
30*50502Scaelfile descriptor files;
31*50502Scaelsee
32*50502Scael.Xr \&fd 4
33*50502Scael.El
34*50502Scael.It Li /etc/
3543671Strentsystem configuration files and scripts
36*50502Scael.Pp
37*50502Scael.Bl -tag -width "disklabels/" -compact
38*50502Scael.It Li localtime
39*50502Scaellocal timezone information;
40*50502Scaelsee
41*50502Scael.Xr ctime 3
42*50502Scael.It Li disklabels/
43*50502Scaelbackup disklabels;
44*50502Scaelsee
45*50502Scael.Xr disklabel 8
46*50502Scael.It Li kerberosIV/
47*50502Scaelconfiguration files for the kerberos version IV;
48*50502Scaelsee
49*50502Scael.Xr kerberos 1
50*50502Scael.It Li mtree/
51*50502Scaelmtree configuration files;
52*50502Scaelsee
53*50502Scael.Xr mtree 1
54*50502Scael.It Li namedb/
55*50502Scaelnamed configuration files;
56*50502Scaelsee
57*50502Scael.Xr named 8
58*50502Scael.El
59*50502Scael.It Li /mnt/
60*50502Scaelempty directory commonly used by
61*50502Scaelsystem administrators as a temporary mount point
62*50502Scael.It Li /sbin/
63*50502Scaelsystem programs and administration utilities
64*50502Scaelfundamental to both single-user and multi-user environments
65*50502Scael.It Li /stand/
6643671Strentprograms used in a standalone environment
67*50502Scael.It Li /tmp/
68*50502Scaeltemporary files, usually a
69*50502Scael.Xr mfs 8
70*50502Scaelmemory-based filesystem (the contents
7143671Strentof /tmp are usually NOT preserved across a system reboot)
72*50502Scael.It Li /usr/
7343671Strentcontains the majority of user utilities and applications
74*50502Scael.Pp
75*50502Scael.Bl -tag -width "libdata/" -compact
76*50502Scael.It Li bin/
7743671Strentcommon utilities, programming tools, and applications
78*50502Scael.It Li contrib/
7943671Strentlarge packages contributed to Berkeley by outside parties
80*50502Scael.It Li games/
8143671Strentuseful and semi-frivolous programs
82*50502Scael.It Li include/
8343671Strentstandard C include files
84*50502Scael.Pp
85*50502Scael.Bl -tag -width "kerberosIV/" -compact
86*50502Scael.It Li X11/
8743671StrentC include files for X11 window system
88*50502Scael.It Li arpa/
8943671StrentC include files for Internet service protocols
90*50502Scael.It Li kerberosIV/
91*50502ScaelC include files for kerberos authentication package;
92*50502Scaelsee
93*50502Scael.Xr kerberos 1
94*50502Scael.It Li machine/
9543671Strentmachine specific C include files
96*50502Scael.It Li net/
9743671Strentmisc network C include files
98*50502Scael.It Li netimp/
99*50502ScaelC include files for IMP protocols;
100*50502Scaelsee
101*50502Scael.Xr imp 4
102*50502Scael.It Li netinet/
103*50502ScaelC include files for Internet standard protocols;
104*50502Scaelsee
105*50502Scael.Xr inet 4
106*50502Scael.It Li netiso/
107*50502ScaelC include files for ISO standard protocols;
108*50502Scaelsee
109*50502Scael.Xr iso 4
110*50502Scael.It Li netns/
111*50502ScaelC include files for XNS standard protocols;
112*50502Scaelsee
113*50502Scael.Xr \&ns 4
114*50502Scael.It Li nfs/
11543671StrentC include files for NFS (Network File System)
116*50502Scael.It Li pascal/
117*50502Scaelinclude files for pc 1
118*50502Scael.It Li protocols/
11943671StrentC include files for Berkeley service protocols
120*50502Scael.It Li sys/
12143671Strentsystem C include files (kernel data structures)
122*50502Scael.It Li ufs/
12343671StrentC include files for UFS (The U-word File System)
124*50502Scael.El
125*50502Scael.Pp
126*50502Scael.It Li lib/
12743671Strentarchive libraries
128*50502Scael.Pp
129*50502Scael.Bl -tag -width Fl -compact
130*50502Scael.It Li uucp/
13143671StrentUUCP configuration files (historically placed; to be moved)
132*50502Scael.El
133*50502Scael.It Li libdata/
13443671Strentmisc. utility data files
135*50502Scael.It Li libexec/
13643671Strentsystem daemons & system utilities (executed by other programs)
137*50502Scael.It Li local/
13843671Strentlocal executables, libraries, etc.
139*50502Scael.It Li obj/
14043671Strentarchitecture-specific target tree produced by building the /usr/src tree
141*50502Scael.It Li old/
14243671Strentprograms from past lives of BSD which may disappear in future
14343671Strentreleases
144*50502Scael.It Li sbin/
14543671Strentsystem daemons & system utilities (executed by users)
146*50502Scael.It Li share/
14743671Strentarchitecture-independent ascii text files
148*50502Scael.Pp
149*50502Scael.Bl -tag -width "calendar/" -compact
150*50502Scael.It Li calendar/
151*50502Scaela variety of pre-fab calendar files;
152*50502Scaelsee
153*50502Scael.Xr calendar 1
154*50502Scael.It Li dict/
155*50502Scaelword lists;
156*50502Scaelsee
157*50502Scael.Xr look 1
158*50502Scael.Pp
159*50502Scael.Bl -tag -width Fl -compact
160*50502Scael.It Li words
16143671Strentcommon words
162*50502Scael.It Li web2
16343671Strentwords from Webster's 2nd International
164*50502Scael.It Li papers/
165*50502Scaelreference databases;
166*50502Scaelsee
167*50502Scael.Xr refer 1
168*50502Scael.It Li special/
169*50502Scaelcustom word lists;
170*50502Scaelsee
171*50502Scael.Xr spell 1
172*50502Scael.El
173*50502Scael.Pp
174*50502Scael.It Li doc/
175*50502Scaelmisc documentation;
176*50502Scaelsrc for most of the printed
177*50502Scael.Bx BSD
178*50502Scaelmanuals (available
179*50502Scaelfrom the
180*50502Scael.Tn USENIX
181*50502Scaelassociation)
182*50502Scael.It Li games/
18343671Strentascii text files used by various games
184*50502Scael.It Li man/
18543671Strentmanual pages
186*50502Scael.It Li me/
18743671Strentmacros for use with the me macro package
188*50502Scael.It Li misc/
18943671Strentmisc system-wide ascii text files
190*50502Scael.Bl -tag -width Fl -compact
191*50502Scael.It Li termcap
192*50502Scaelterminal characteristics database;
193*50502Scaelsee
194*50502Scael.Xr termcap 5
195*50502Scael.El
196*50502Scael.It Li mk/
197*50502Scaeltemplates for make;
198*50502Scaelsee
199*50502Scael.Xr make 1
200*50502Scael.It Li ms/
20143671Strentmacros for use with the ms macro package
202*50502Scael.It Li skel/
20343671Strentexample . (dot) files for new accounts
204*50502Scael.It Li tabset/
20543671Strenttab description files for a variety of terminals; used in
206*50502Scaelthe termcap file;
207*50502Scaelsee
208*50502Scael.Xr termcap 5
209*50502Scael.It Li tmac/
210*50502Scaeltext processing macros;
211*50502Scaelsee
212*50502Scael.Xr nroff 1
213*50502Scaeland
214*50502Scael.Xr troff 1
215*50502Scael.It Li zoneinfo/
216*50502Scaeltimezone configuration information;
217*50502Scaelsee
218*50502Scael.Xr tzfile 5
219*50502Scael.El
220*50502Scael.Pp
221*50502Scael.It Li src/
22243671StrentBSD and/or local source files
223*50502Scael.Pp
224*50502Scael.Bl -tag -width "kerberosIV/" -compact
225*50502Scael.It Li bin/
22643671Strentsrc for files in /bin
227*50502Scael.It Li contrib/
22843671Strentsrc for files in /usr/contrib
229*50502Scael.It Li etc/
23043671Strentsrc for files in /etc
231*50502Scael.It Li games/
23243671Strentsrc for files in /usr/games
233*50502Scael.It Li include/
23443671Strentsrc for files in /usr/include
235*50502Scael.It Li kerberosIV/
23643671Strentsrc for kerberos version IV
237*50502Scael.It Li lib/
23843671Strentsrc for files in /usr/lib
239*50502Scael.It Li libexec/
24043671Strentsrc for files in /usr/libexec
241*50502Scael.It Li local/
24243671Strentsrc for files in /usr/local
243*50502Scael.It Li old/
24443671Strentsrc for files in /usr/old
245*50502Scael.It Li pgrm/
24643671Strentsrc for programming tools in /usr/bin
247*50502Scael.It Li sbin/
24843671Strentsrc for files in /sbin
249*50502Scael.It Li share/
25043671Strentsrc for files in /usr/share
251*50502Scael.It Li sys/
25243671Strentkernel src files
253*50502Scael.It Li usr.bin/
25443671Strentsrc for files in /usr/bin
255*50502Scael.It Li usr.sbin/
25643671Strentsrc for files in /usr/sbin
257*50502Scael.El
258*50502Scael.El
259*50502Scael.It Li /var/
26043671Strentmulti-purpose log, temporary, transient, and spool files
261*50502Scael.Pp
262*50502Scael.Bl -tag -width "preserve/" -compact
263*50502Scael.It Li account/
26443671Strentsystem accounting files
265*50502Scael.Pp
266*50502Scael.Bl -tag -width Fl -compact
267*50502Scael.It Li acct
268*50502Scaelexecution accounting file;
269*50502Scaelsee
270*50502Scael.Xr acct 5
271*50502Scael.El
272*50502Scael.Pp
273*50502Scael.It Li at/
274*50502Scaeltimed command scheduling files;
275*50502Scaelsee
276*50502Scael.Xr \&at 1
277*50502Scael.It Li backups/
27843671Strentmisc. backup files
279*50502Scael.It Li db/
28043671Strentmisc. automatically generated system-specific database files
281*50502Scael.It Li games/
28243671Strentmisc. game status and log files
283*50502Scael.It Li log/
28443671Strentmisc. system log files
285*50502Scael.Pp
286*50502Scael.Bl -tag -width Fl -compact
287*50502Scael.It Li wtmp
288*50502Scaellogin/logout log;
289*50502Scaelsee
290*50502Scael.Xr wtmp 5
291*50502Scael.El
292*50502Scael.Pp
293*50502Scael.It Li mail/
29443671Strentuser mailbox files
295*50502Scael.It Li preserve/
29643671Strenttemporary home of files preserved after an accidental death
297*50502Scaelof an editor;
298*50502Scaelsee
299*50502Scael.Xr \&ex 1
300*50502Scael.It Li quotas/
30143671Strentfilesystem quota information files
302*50502Scael.It Li run/
30343671Strentsystem information files describing various info about
30443671Strentsystem since it was booted
305*50502Scael.Pp
306*50502Scael.Bl -tag -width Fl -compact
307*50502Scael.It Li utmp
308*50502Scaeldatabase of current users;
309*50502Scaelsee
310*50502Scael.Xr utmp 5
311*50502Scael.El
312*50502Scael.Pp
313*50502Scael.It Li rwho/
314*50502Scaelrwho data files;
315*50502Scaelsee
316*50502Scael.Xr rwhod 8 ,
317*50502Scael.Xr rwho 1 ,
318*50502Scaeland
319*50502Scael.Xr ruptime 1
320*50502Scael.It Li spool/
32143671Strentmisc. printer and mail system spooling directories
322*50502Scael.Pp
323*50502Scael.Bl -tag -width Fl -compact
324*50502Scael.It Li ftp/
32543671Strentcommonly ~ftp; the anonymous ftp root directory
326*50502Scael.It Li mqueue/
327*50502Scaelundelivered mail queue;
328*50502Scaelsee
329*50502Scael.Xr sendmail 8
330*50502Scael.It Li output/
33143671Strentline printer spooling directories
332*50502Scael.It Li secretmail/
333*50502Scaelsecretmail spool directory;
334*50502Scaelsee
335*50502Scael.Xr xget 1
336*50502Scael.It Li uucp/
33743671Strentuucp spool directory
338*50502Scael.It Li uucppublic/
33943671Strentcommonly ~uucp; public uucp temporary directory
340*50502Scael.El
341*50502Scael.Pp
342*50502Scael.It Li tmp/
34343671Strenttemporary files that are kept between system reboots
344*50502Scael.El
345*50502Scael.It Li /vmunix
34643671Strentpure kernel executable (the operating system loaded into memory
34743671Strentat boot time).
348*50502Scael.El
34943671Strent.Sh SEE ALSO
350*50502Scael.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
360*50502ScaelA
361*50502Scael.Nm hier
362*50502Scaelmanual page appeared in
363*50502Scael.At v7 .
364