xref: /csrg-svn/share/man/man7/hier.7 (revision 67101)
1.\" Copyright (c) 1990, 1993, 1994
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)hier.7	8.4 (Berkeley) 05/06/94
7.\"
8.Dd
9.Dt HIER 7
10.Os
11.Sh NAME
12.Nm hier
13.Nd layout of filesystems
14.Sh DESCRIPTION
15An outline of the filesystem hierarchy.
16.Bl -tag -width "/altroot/"
17.It Sy \&/
18root directory of the system
19.It Sy /COPYRIGHT
20system copyright notice
21.It Sy "/[a-z]"
22user filesystems
23.It Sy /altroot/
24alternate root filesystem, in case of disaster
25.It Sy /amd/
26home directories mount point; see
27.Xr amd 8
28.It Sy /bin/
29utilities used in both single and multi-user environments
30.It Sy /dev/
31block, character and other special device files
32.Pp
33.Bl -tag -width "MAKEDEV" -compact
34.It Sy MAKEDEV
35script for creating device files;
36see
37.Xr makedev 8
38.It Sy console
39the computer's console device
40.It Sy fd/
41file descriptor files;
42see
43.Xr \&fd 4
44.It Sy drum
45system swap space; see
46.Xr drum 4
47.It Sy klog
48kernel logging device; see
49.Xr syslog 3
50.It Sy kmem
51kernel virtual memory device; see
52.Xr mem 4
53.It Sy log
54UNIX domain datagram log socket; see
55.Xr syslogd 8
56.It Sy mem
57kernel physical memory device; see
58.Xr mem 4
59.It Sy stderr
60.It Sy stdin
61.It Sy stdout
62file descriptor files;
63see
64.Xr \&fd 4
65.It Sy null
66the null device; see
67.Xr null 4
68.It Sy tty
69process' controlling terminal device; see
70.Xr tty 4
71.El
72.It Sy /dump/
73online
74.Xr dump 8
75repository
76.It Sy /etc/
77system configuration files and scripts
78.Pp
79.Bl -tag -width "master.passwd" -compact
80.It Sy aliases*
81name alias files for
82.Xr sendmail 8
83.It Sy amd*
84configuration files for
85.Xr amd 8
86.It Sy changelist
87files backed up by the security script
88.It Sy crontab
89schedule used by the
90.Xr cron 8
91daemon
92.It Sy csh.cshrc
93.It Sy csh.login
94.It Sy csh.logout
95system-wide scripts for
96.Xr csh 1
97.It Sy daily
98script run each day by
99.Xr cron 8
100.It Sy disklabels/
101backup disklabels;
102see
103.Xr disklabel 8
104.It Sy disktab
105disk description file, see
106.Xr disktab 5
107.It Sy dm.conf
108dungeon master configuration; see
109.Xr dm.conf 5
110.It Sy dumpdates
111dump history; see
112.Xr dump 8
113.It Sy exports
114filesystem export information; see
115.Xr mountd 8
116.It Sy fstab
117filesystem information; see
118.Xr fstab 5
119and
120.Xr mount 8
121.It Sy ftpusers
122users denied
123.Xr ftp 1
124access; see
125.Xr ftpd 8
126.It Sy ftpwelcome
127.Xr ftp 1
128initial message; see
129.Xr ftpd 8
130.It Sy gettytab
131terminal configuration database; see
132.Xr gettytab 8
133.It Sy group
134group permissions file; see
135.Xr group 5
136.It Sy hosts
137host name database backup for
138.Xr named 8 ;
139see
140.Xr hosts 5
141.It Sy hosts.equiv
142trusted machines with equivalent user ID's
143.It Sy hosts.lpd
144trusted machines with printing privileges
145.It Sy inetd.conf
146Internet server configuration file; see
147.Xr inetd 8
148.It Sy kerberosIV/
149configuration files for the kerberos version IV;
150see
151.Xr kerberos 1
152.It Sy localtime
153local timezone information;
154see
155.Xr ctime 3
156.It Sy mail.rc
157system-wide initialization script for
158.Xr mail 1
159.It Sy man.conf
160configuration file for
161.Xr man 1 ;
162see
163.Xr man.conf 5
164.It Sy master.passwd
165.It Sy passwd
166.It Sy pwd.db
167.It Sy spwd.db
168password files and their databases; see
169.Xr pwd_mkdb 8
170.It Sy monthly
171script run each month by
172.Xr cron 8
173.It Sy motd
174system message of the day
175.It Sy mtree/
176mtree configuration files;
177see
178.Xr mtree 1
179.It Sy named.*
180.It Sy namedb/
181named configuration files and databases;
182see
183.Xr named 8
184.It Sy netgroup
185network groups; see
186.Xr netgroup 5
187.It Sy netstart
188network startup script
189.It Sy networks
190network name data base; see
191.Xr networks 5
192.It Sy phones
193remote host phone number data base; see
194.Xr phones 5
195.It Sy printcap
196system printer configuration; see
197.Xr printcap 5
198.It Sy protocols
199protocol name database; see
200.Xr protocols 5
201.It Sy rc
202.It Sy rc.local
203system startup files; see
204.Xr rc 8
205.It Sy remote
206remote host description file; see
207.Xr remote 5
208.It Sy security
209daily (in)security script run by
210.Xr cron 8
211.It Sy sendmail.*
212.Xr sendmail 8
213configuration information
214.It Sy services
215service name data base; see
216.Xr services 5
217.It Sy shells
218list of permitted shells; see
219.Xr shells 5
220.It Sy sliphome
221slip login/logout scripts; see
222.Xr slattach 8
223.It Sy syslog.conf
224.Xr syslogd 8
225configuration file; see
226.Xr syslog.conf 5
227.It Sy termcap
228terminal type database; see
229.Xr termcap 3
230.It Sy ttys
231terminal initialization information; see
232.Xr ttys 5
233.It Sy weekly
234script run each week by
235.Xr cron 8
236.El
237.It Sy /home/
238mount point for the automounter; see
239.Xr amd 8
240.It Sy /mnt/
241empty directory commonly used by
242system administrators as a temporary mount point
243.It Sy /root/
244home directory for the super-user
245.Pp
246.Bl -tag -width ".profile" -compact
247.It Sy \&.rhosts
248super-user id mapping between machines
249.It Sy \&.cshrc
250super-user start-up file
251.It Sy \&.login
252super-user start-up file
253.It Sy \&.profile
254super-user start-up file
255.El
256.It Sy /sbin/
257system programs and administration utilities
258used in both single-user and multi-user environments
259.It Sy /stand/
260programs used in a standalone environment
261.It Sy /sys
262symbolic link to the operating system source
263.It Sy /tmp/
264temporary files, usually a
265.Xr mfs 8
266memory-based filesystem (the contents
267of /tmp are usually NOT preserved across a system reboot)
268.It Sy /usr/
269contains the majority of the system utilities and files
270.Pp
271.Bl -tag -width "libdata/" -compact
272.It Sy X11
273X11 files
274.Pp
275.Bl -tag -width "include/" -compact
276.It Sy bin/
277X11 binaries
278.It Sy include/
279X11 include files
280.It Sy lib/
281X11 libraries
282.El
283.It Sy bin/
284common utilities, programming tools, and applications
285.It Sy contrib/
286packages maintained by groups other than Berkeley
287.Pp
288.Bl -tag -width "include/" -compact
289.It Sy bin/
290contributed binaries
291.It Sy include/
292contributed include files
293.It Sy libexec/
294contributed daemons
295.It Sy libdata/
296contributed data files
297.El
298.It Sy games/
299the important stuff
300.It Sy include/
301standard C include files
302.Pp
303.Bl -tag -width "kerberosIV/" -compact
304.It Sy X11/
305include files for X11 window system
306.It Sy arpa/
307include files for Internet service protocols
308.It Sy g++/
309include files for the C++ compiler
310.It Sy kerberosIV/
311include files for kerberos authentication package;
312see
313.Xr kerberos 1
314.It Sy machine/
315machine specific include files
316.It Sy net/
317miscellaneous network include files
318.It Sy netccitt/
319CCITT networking include files
320.It Sy netinet/
321include files for Internet standard protocols;
322see
323.Xr inet 4
324.It Sy netiso/
325include files for ISO standard protocols;
326see
327.Xr iso 4
328.It Sy netns/
329include files for XNS standard protocols;
330see
331.Xr \&ns 4
332.It Sy nfs/
333include files for NFS (Network File System)
334.It Sy pascal/
335include files for
336.Xr pc 1
337.It Sy protocols/
338include files for Berkeley service protocols
339.It Sy rpc/
340include files for Sun Microsystem's RPC package
341.It Sy sys/
342kernel include files
343.It Sy ufs/
344include files for UFS
345.It Sy xnscourier/
346include files for XNS package
347.El
348.Pp
349.It Sy lib/
350system C library archives; see
351.Xr ar 1
352.Pp
353.Bl -tag -width "uucp/" -compact
354.It Sy uucp/
355UUCP binaries and scripts (historically placed; to be moved)
356.El
357.Pp
358.It Sy libdata/
359miscellaneous utility data files
360.It Sy libexec/
361system daemons and system utilities (executed by other programs)
362.It Sy local/
363local executables, libraries, etc.
364.Pp
365.Bl -tag -width "include/" -compact
366.It Sy bin/
367local binaries
368.It Sy include/
369local include files
370.It Sy libexec/
371local daemons
372.It Sy libdata/
373local data files
374.El
375.It Sy obj/
376architecture-specific target tree produced by building the
377.Pa /usr/src
378tree; normally a symbolic link or mounted filesystem
379.It Sy old/
380programs from past lives of
381.Bx 4
382which may disappear in future releases
383.Pp
384.Bl -tag -width "include/" -compact
385.It Sy bin/
386old binaries
387.It Sy include/
388old include files
389.It Sy libexec/
390old daemons
391.It Sy libdata/
392old data files
393.El
394.It Sy sbin/
395system daemons and system utilities (normally executed by the super-user)
396.It Sy share/
397architecture-independent text files
398.Pp
399.Bl -tag -width "calendar/" -compact
400.It Sy calendar/
401a variety of calendar files; see
402.Xr calendar 1
403.It Sy dict/
404word lists;
405see
406.Xr look 1
407and
408.Xr spell 1
409.Pp
410.Bl -tag -width "special/" -compact
411.It Sy words
412common words
413.It Sy web2
414words of Webster's 2nd International
415.It Sy papers/
416reference databases;
417see
418.Xr refer 1
419.It Sy special/
420custom word lists;
421see
422.Xr spell 1
423.El
424.Pp
425.It Sy doc/
426miscellaneous documentation; source for most of the printed
427.Bx 4
428manuals (available
429from the
430.Tn USENIX
431association)
432.It Sy games/
433text files used by various games
434.It Sy man/
435formatted manual pages
436.It Sy me/
437macros for use with the
438.Xr me 7
439macro package
440.It Sy misc/
441miscellaneous system-wide text files
442.Pp
443.Bl -tag -width "termcap" -compact
444.It Sy termcap
445terminal characteristics database;
446see
447.Xr termcap 5
448.El
449.Pp
450.It Sy mk/
451include files for
452.Xr make 1
453.It Sy ms/
454macros for use with the
455.Xr ms 7
456macro package
457.It Sy skel/
458sample initialization files for new user accounts
459.It Sy tabset/
460tab description files for a variety of terminals, used in
461the termcap file;
462see
463.Xr termcap 5
464.It Sy tmac/
465text processing macros;
466see
467.Xr nroff 1
468and
469.Xr troff 1
470.It Sy zoneinfo/
471timezone configuration information;
472see
473.Xr tzfile 5
474.El
475.It Sy usr.bin/
476source for utilities/files in
477.Pa /usr/bin
478.It Sy usr.sbin/
479source for utilities/files in
480.Pa /usr/sbin
481.El
482.Pp
483.It Sy /usr/src/
484.Bx 4
485and local source files
486.Pp
487.Bl -tag -width "kerberosIV/" -compact
488.It Sy bin/
489source for utilities/files in
490.Pa /bin
491.It Sy contrib/
492source for utilities/files in
493.Pa /usr/contrib
494.It Sy etc/
495source (usually example files) for files in
496.Pa /etc
497.It Sy games/
498source for utilities/files in
499.Pa /usr/games
500.It Sy include/
501source for files in
502.Pa /usr/include
503.It Sy kerberosIV/
504source for Kerberos version IV utilities and libraries
505.It Sy lib/
506source for libraries in
507.Pa /usr/lib
508.It Sy libexec/
509source for utilities/files in
510.Pa /usr/libexec
511.It Sy local/
512source for utilities/files in
513.Pa /usr/local
514.It Sy old/
515source for utilities/files in
516.Pa /usr/old
517.It Sy sbin/
518source for utilities/files in
519.Pa /sbin
520.It Sy share/
521source for files in
522.Pa /usr/share
523.Pp
524.Bl -tag -width "doc/" -compact
525.It Sy doc/
526.Pp
527.Bl -tag -width "papers/" -compact
528.It Sy papers/
529source for various Berkeley technical papers
530.It Sy psd/
531source for Programmer's Supplementary Documents
532.It Sy smm/
533source for System Manager's Manual
534.It Sy usd/
535source for User's Supplementary Documents
536.El
537.El
538.It Sy sys/
539kernel source files
540.Pp
541.Bl -tag -width "deprecated/" -compact
542.It Sy compile/
543kernel compilation directory
544.It Sy conf/
545architecture independent configuration directory
546.It Sy deprecated/
547deprecated kernel functionality
548.It Sy dev/
549architecture independent device support
550.It Sy hp/
551general support for Hewlett-Packard architectures
552.It Sy hp300/
553support for the Hewlett-Packard 9000/300 68000-based workstations
554.It Sy i386/
555support for the Intel 386/486 workstations
556.It Sy isofs/
557support for ISO filesystems
558.Pp
559.Bl -tag -width "cd9660/" -compact
560.It Sy cd9660/
561support for the ISO-9660 filesystem
562.El
563.Pp
564.It Sy kern/
565support for the high kernel (system calls)
566.It Sy libkern/
567C library routines used in the kernel
568.It Sy luna68k/
569Omron Luna 68000-based workstations
570.It Sy mips/
571general support for MIPS architectures
572.It Sy miscfs/
573miscellaneous file systems
574.It Sy net/
575miscellaneous networking support
576.It Sy netccitt/
577CCITT networking support
578.It Sy netinet/
579TCP/IP networking support
580.It Sy netiso/
581ISO networking support
582.It Sy netns/
583XNS networking support
584.It Sy news3400/
585Sony News MIPS-based workstations
586.It Sy nfs/
587NFS support
588.It Sy pmax/
589DECstation 3100 and 5000 MIPS-based workstations
590.It Sy scripts/
591kernel debugging scripts
592.It Sy sparc/
593Sparcstation I & II SPARC-based workstations
594.It Sy stand/
595kernel standalone support
596.It Sy sys/
597kernel (and system) include files
598.It Sy tahoe/
599Computer Consoles Inc. Tahoe architecture (obsolete)
600.It Sy tests/
601kernel testing
602.It Sy ufs/
603local filesystem support
604.Pp
605.Bl -tag -width "ffs/" -compact
606.It Sy ffs/
607the Berkeley Fast File System
608.It Sy lfs/
609the log-structured file system
610.It Sy mfs/
611the in-memory file system
612.It Sy ufs/
613shared UNIX file system support
614.El
615.It Sy vax/
616Digital Equipment Corp. VAX architecture (obsolete)
617.It Sy vm/
618virtual memory support
619.El
620.El
621.It Sy /var/
622multi-purpose log, temporary, transient, and spool files
623.Pp
624.Bl -tag -width "preserve/" -compact
625.It Sy account/
626system accounting files
627.Pp
628.Bl -tag -width "acct" -compact
629.It Sy acct
630execution accounting file;
631see
632.Xr acct 5
633.El
634.Pp
635.It Sy at/
636timed command scheduling files;
637see
638.Xr \&at 1
639.It Sy backups/
640miscellaneous backup files, largely of files found in
641.Pa /etc
642.It Sy crash/
643system crash dumps; see
644.Xr savecore 8
645.It Sy db/
646miscellaneous automatically generated system-specific database files
647.It Sy games/
648miscellaneous game status and log files
649.It Sy log/
650miscellaneous system log files
651.Pp
652.Bl -tag -width "monthly.out" -compact
653.It Sy amd.*
654.Xr amd 8
655logs
656.It Sy daily.out
657output of the last run of the
658.Pa /etc/daily
659script
660.It Sy ftp.*
661.Xr ftp 1
662logs
663.It Sy kerberos.*
664.Xr kerberos 1
665logs
666.It Sy lastlog
667system last time logged in log; see
668.Xr utmp 5
669.It Sy lpd-errs.*
670printer daemon error logs; see
671.Xr lpd 8
672.It Sy maillog.*
673.Xr sendmail 8
674log files
675.It Sy messages.*
676general system information log
677.It Sy monthly.out
678output of the last run of the
679.Pa /etc/monthly
680script
681.It Sy secure
682sensitive security information log
683.It Sy sendmail.st
684.Xr sendmail 8
685statistics
686.It Sy timed.*
687.Xr timed 8
688logs
689.It Sy weekly.out
690output of the last run of the
691.Pa /etc/weekly
692script
693.It Sy wtmp
694login/logout log;
695see
696.Xr utmp 5
697.El
698.Pp
699.It Sy mail/
700user system mailboxes
701.It Sy msgs/
702system messages; see
703.Xr msgs 1
704.It Sy preserve/
705temporary home of files preserved after an accidental death of
706.Xr ex 1
707or
708.Xr vi 1
709.It Sy quotas/
710filesystem quota information
711.It Sy run/
712system information files, rebuilt after each reboot
713.Pp
714.Bl -tag -width "utmp" -compact
715.It Sy utmp
716database of current users; see
717.Xr utmp 5
718.El
719.Pp
720.It Sy rwho/
721rwho data files; see
722.Xr rwhod 8 ,
723.Xr rwho 1 ,
724and
725.Xr ruptime 1
726.It Sy spool/
727miscellaneous printer and mail system spooling directories
728.Pp
729.Bl -tag -width "uucppublic/" -compact
730.It Sy ftp/
731commonly
732.Dq ~ftp ,
733the anonymous ftp root directory; see
734.Xr ftpd 8
735.It Sy mqueue/
736undelivered mail queue;
737see
738.Xr sendmail 8
739.It Sy news/
740Network news archival and spooling directories
741.It Sy output/
742printer spooling directories
743.It Sy secretmail/
744secretmail spool directory;
745see
746.Xr xget 1
747.It Sy uucp/
748uucp spool directory
749.It Sy uucppublic/
750commonly
751.Dq ~uucp ,
752the uucp public temporary directory; see
753.Xr uucp 1
754.El
755.Pp
756.It Sy tmp/
757temporary files that are not discarded between system reboots
758.Pp
759.Bl -tag -width "vi.recover/" -compact
760.It Sy vi.recover/
761recovery directory for
762.Xr nvi 1
763.El
764.El
765.It Sy /vmunix
766the executable for the operating system
767.El
768.Sh SEE ALSO
769.Xr apropos 1 ,
770.Xr \&ls 1 ,
771.Xr whatis 1 ,
772.Xr whereis 1 ,
773.Xr which 1 ,
774.Sh HISTORY
775A
776.Nm hier
777manual page appeared in
778.At v7 .
779