xref: /netbsd-src/share/man/man7/hier.7 (revision eb961d0e02b7a46a9acfa877b02df48df6637278)
1.\"	$NetBSD: hier.7,v 1.70 2006/02/07 19:40:51 wiz Exp $
2.\"
3.\" Copyright (c) 1990, 1993, 1994
4.\"	The Regents of the University of California.  All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. Neither the name of the University nor the names of its contributors
15.\"    may be used to endorse or promote products derived from this software
16.\"    without specific prior written permission.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\"	@(#)hier.7	8.5 (Berkeley) 6/1/94
31.\"
32.Dd February 7, 2006
33.Dt HIER 7
34.Os
35.Sh NAME
36.Nm hier
37.Nd layout of filesystems
38.Sh DESCRIPTION
39An outline of the filesystem hierarchy.
40.Pp
41Naming is very important.
42The
43.Ux
44System relies on filename conventions for much of its power as a system.
45The following file system layout describes generally where things are
46and what they are, with references to other man pages for more detailed
47documentation.
48.Pp
49Not all files will be in every system.
50.Pp
51.Bl -tag -width "/altroot/"
52.It Sy \&/
53root directory of the system
54.It Sy /COPYRIGHT
55system copyright notice, most often put on
56.Tn CD-ROM
57distributions.
58.It Sy "/[a-z]/"
59user filesystems
60.It Sy /altroot/
61alternate root filesystem, in case of disaster
62.\" .It Sy /amd/
63.\" home directories mount point; see
64.\" .Xr amd 8
65.It Sy /bin/
66utilities used in both single and multi-user environments
67.It Sy /boot*
68second-stage boot loader(s) for some platforms; see
69.Xr installboot 8
70.It Sy /dev/
71block, character and other special device files
72.Pp
73.Bl -tag -width "MAKEDEV" -compact
74.It Sy MAKEDEV
75script for creating device files;
76see
77.Xr makedev 8
78.It Sy console
79the computer's console device
80.It Sy drum
81system swap space; see
82.Xr drum 4
83.It Sy fd/
84file descriptor files;
85see
86.Xr fd 4
87.It Sy klog
88kernel logging device; see
89.Xr syslog 3
90.It Sy kmem
91kernel virtual memory device; see
92.Xr mem 4
93.It Sy log
94.Ux
95domain datagram log socket; see
96.Xr syslogd 8
97.It Sy mem
98kernel physical memory device; see
99.Xr mem 4
100.It Sy null
101the null device; see
102.Xr null 4
103.It Sy stderr
104.It Sy stdin
105.It Sy stdout
106file descriptor files;
107see
108.Xr fd 4
109.It Sy tty
110process' controlling terminal device; see
111.Xr tty 4
112.It Sy zero
113the zero device; see
114.Xr zero 4
115.El
116.\" .It Sy /dump/
117.\" online
118.\" .Xr dump 8
119.\" repository
120.It Sy /etc/
121system configuration files and scripts
122.Pp
123.Bl -tag -width "master.passwd" -compact
124.It Sy amd*
125configuration files for
126.Xr amd 8
127.It Sy changelist
128files backed up by the security script
129.It Sy crontab
130schedule used by the
131.Xr cron 8
132daemon
133.It Sy csh.cshrc
134.It Sy csh.login
135.It Sy csh.logout
136system-wide scripts for
137.Xr csh 1
138.It Sy daily
139script run each day by
140.Xr cron 8
141.It Sy daily.conf
142configuration file for
143.Sy daily ;
144see
145.Xr daily.conf 5
146.It Sy defaults/
147default configuration files read by various
148.Pa /etc/*.conf
149files
150.It Sy disktab
151disk description file, see
152.Xr disktab 5
153.It Sy dm.conf
154dungeon master configuration; see
155.Xr dm.conf 5
156.It Sy dumpdates
157dump history; see
158.Xr dump 8
159.It Sy exports
160filesystem export information; see
161.Xr mountd 8
162.It Sy fstab
163filesystem information; see
164.Xr fstab 5
165and
166.Xr mount 8
167.It Sy ftpusers
168users denied
169.Xr ftp 1
170access; see
171.Xr ftpd 8
172.It Sy ftpwelcome
173.Xr ftp 1
174initial message; see
175.Xr ftpd 8
176.It Sy gettytab
177terminal configuration database; see
178.Xr gettytab 5
179.It Sy group
180group permissions file; see
181.Xr group 5
182.It Sy hosts
183host name database backup for
184.Xr named 8 ;
185see
186.Xr hosts 5
187.It Sy hosts.equiv
188trusted machines with equivalent user ID's
189.It Sy hosts.lpd
190trusted machines with printing privileges
191.It Sy inetd.conf
192Internet server configuration file; see
193.Xr inetd 8
194.It Sy kerberosIV/
195configuration files for the kerberos version IV;
196see
197.Xr kerberos 8
198.It Sy kerberosV/
199configuration files for the kerberos version V;
200see
201.Xr kerberos 8
202.It Sy localtime
203local timezone information;
204see
205.Xr ctime 3
206.It Sy mail/
207configuration files for
208.Xr sendmail 8
209.Pp
210.Bl -tag -width "sendmail.*" -compact
211.It Sy aliases*
212name alias files
213.It Sy sendmail.*
214.Xr sendmail 8
215configuration information
216.El
217.It Sy mail.rc
218system-wide initialization script for
219.Xr mail 1
220.It Sy man.conf
221configuration file for
222.Xr man 1 ;
223see
224.Xr man.conf 5
225.It Sy master.passwd
226Main password file, readable only by root; see
227.Xr passwd 5
228.It Sy mk.conf
229optional file containing
230.Xr make 1
231variables, read by pkgsrc and the system sources.
232.It Sy monthly
233script run each month by
234.Xr cron 8
235.It Sy monthly.conf
236configuration file for
237.Sy monthly ;
238see
239.Xr monthly.conf 5
240.It Sy motd
241system message of the day
242.It Sy mtree/
243mtree configuration files;
244see
245.Xr mtree 8
246.It Sy named.*
247.It Sy namedb/
248named configuration files and databases;
249see
250.Xr named 8
251.It Sy netgroup
252network groups; see
253.Xr netgroup 5
254.It Sy netstart
255network startup script
256.It Sy networks
257network name data base; see
258.Xr networks 5
259.It Sy passwd
260World readable password file generated from master.passwd; see
261.Xr passwd 5 ,
262.Xr pwd_mkdb 8
263.It Sy phones
264remote host phone number data base; see
265.Xr phones 5
266.It Sy printcap
267system printer configuration; see
268.Xr printcap 5
269.It Sy protocols
270protocol name database; see
271.Xr protocols 5
272.It Sy pwd.db
273database form of passwd file; see
274.Xr pwd_mkdb 8
275.It Sy rc
276master system startup script invoked by
277.Xr init 8 ;
278see
279.Xr rc 8
280.It Sy rc.conf
281configuration file for system startup and shutdown scripts; see
282.Xr rc.conf 5
283.It Sy rc.d/
284directory containing per-subsystem startup and shutdown scripts; see
285.Xr rc 8
286.It Sy rc.local
287locally editable system startup script
288.It Sy rc.shutdown
289master system shutdown script invoked by
290.Xr shutdown 8 ;
291see
292.Xr rc 8
293.It Sy remote
294remote host description file; see
295.Xr remote 5
296.It Sy security
297daily (in)security script run by
298.Xr cron 8
299.It Sy security.conf
300configuration file for
301.Sy security ;
302see
303.Xr security.conf 5
304.It Sy services
305service name data base; see
306.Xr services 5
307.It Sy shells
308list of permitted shells; see
309.Xr shells 5
310.It Sy sliphome/
311.Tn SLIP
312login/logout scripts; see
313.Xr sliplogin 8
314.It Sy spwd.db
315database form of master.passwd file; see
316.Xr pwd_mkdb 8
317.It Sy syslog.conf
318.Xr syslogd 8
319configuration file; see
320.Xr syslog.conf 5
321.It Sy termcap
322terminal type database; see
323.Xr termcap 3
324.It Sy ttys
325terminal initialization information; see
326.Xr ttys 5
327.It Sy uucp/
328UUCP configuration files; see
329.Xr uucp 1
330and
331.Xr uucico 8 .
332.It Sy weekly
333script run each week by
334.Xr cron 8
335.It Sy weekly.conf
336configuration file for
337.Sy weekly ;
338see
339.Xr weekly.conf 5
340.El
341.It Sy /home/
342mount point for the automounter; see
343.Xr amd 8
344.It Sy /lib/
345dynamic linked libraries used by dynamic linked programs
346(such as those in
347.Pa /bin/
348and
349.Pa /sbin/ )
350that cannot rely upon
351.Pa /usr/lib/
352being available.
353.It Sy /libexec/
354system utilities (such as the dynamic linker) required by programs
355and libraries that cannot rely upon
356.Pa /usr/libexec/
357being available.
358.It Sy /mnt/
359empty directory commonly used by
360system administrators as a temporary mount point
361.It Sy /netbsd
362pure kernel executable (the operating system loaded into memory
363at boot time).
364.It Sy /rescue/
365statically linked rescue tools, for use in system recovery
366.It Sy /root/
367home directory for the super-user
368.Pp
369.Bl -tag -width ".profile" -compact
370.It Sy \&.cshrc
371super-user start-up file
372.It Sy \&.login
373super-user start-up file
374.It Sy \&.profile
375super-user start-up file
376.It Sy \&.rhosts
377super-user id mapping between machines
378.El
379.ne 1i
380.It Sy /sbin/
381system programs and administration utilities
382used in both single-user and multi-user environments
383.It Sy /stand/
384programs used in a standalone environment
385.It Sy /tmp/
386temporary files, usually a
387.Xr mfs 8
388memory-based filesystem (the contents of
389.Pa /tmp
390are usually
391.Em not
392preserved across a system reboot)
393.It Sy /usr/
394contains the majority of the system utilities and files
395.Pp
396.Bl -tag -width "libdata/" -compact
397.It Sy X11R6/
398X11 files
399.Pp
400.Bl -tag -width "include/" -compact
401.It Sy bin/
402X11 binaries
403.It Sy include/
404X11 include files
405.It Sy lib/
406X11 libraries
407.El
408.Pp
409.It Sy bin/
410common utilities, programming tools, and applications
411.It Sy games/
412the important stuff
413.It Sy include/
414standard C include files
415.Pp
416.Bl -tag -width "kerberosIV/" -compact
417.It Sy arpa/
418include files for Internet service protocols
419.It Sy g++/
420include files for the C++ compiler
421.It Sy kerberosIV/
422include files for kerberos authentication package;
423see
424.Xr kerberos 8
425.It Sy machine/
426machine specific include files
427.It Sy net/
428.It Sy netatalk/
429C include files for AppleTalk protocols
430miscellaneous network include files;
431see
432.Xr atalk 4
433.It Sy netccitt/
434CCITT networking include files
435.It Sy netinet/
436include files for Internet standard protocols; see
437.Xr inet 4
438.It Sy netinet6/
439include files for Internet protocol version 6; see
440.Xr inet6 4
441.It Sy netiso/
442include files for ISO standard protocols; see
443.Xr iso 4
444.It Sy netkey/
445include files for secret key management, used for security protocols; see
446.Xr ipsec 4
447.It Sy netnatm/
448C include files for native mode ATM
449.It Sy netns/
450C include files for XNS standard protocols; see
451.Xr ns 4
452.It Sy nfs/
453C include files for NFS (Network File System)
454.It Sy protocols/
455C include files for Berkeley service protocols
456.It Sy sys/
457system C include files (kernel data structures)
458.It Sy ufs/
459C include files for UFS (The U-word File System)
460.El
461.Pp
462.It Sy lib/
463archive, profiled, position independent archive, and shared libraries
464.It Sy libdata/
465miscellaneous utility data files
466.It Sy libexec/
467system daemons \*[Am] system utilities (executed by other programs)
468.Pp
469.Bl -tag -width "uucp/" -compact
470.It Sy uucp/
471UUCP binaries and scripts (historically placed; to be moved)
472.El
473.Pp
474.It Sy lkm/
475loadable kernel modules
476.It Sy mdec/
477boot blocks, etc.
478.It Sy obj/
479architecture-specific target tree produced by building the
480.Pa /usr/src
481tree; normally a symbolic link or mounted filesystem
482.It Sy pkg/
483packages maintained by groups other than the
484.Nx
485Project.
486.Pp
487.Bl -tag -width "include/" -compact
488.It Sy bin/
489contributed binaries
490.It Sy include/
491contributed include files
492.It Sy lib/
493contributed libraries
494.It Sy libdata/
495contributed data files
496.It Sy libexec/
497contributed daemons
498.It Sy sbin/
499contributed system utilities
500.El
501.Pp
502.It Sy pkgsrc/
503build descriptions ("packages") for the
504.Nx
505packages system.
506.Pp
507.Bl -tag -width "distfilesX" -compact
508.It Sy distfiles/
509Where unchanged source archives are fetched to/stored
510.It Sy packages/
511Where compiled binary packages are stored
512.El
513.Pp
514There are also several other subdirectories which contain packages of
515a certain category, e.g., archivers, graphics, ...
516.Pp
517.It Sy sbin/
518system daemons and system utilities (normally executed by the super-user)
519.It Sy share/
520architecture-independent text files
521.Pp
522.Bl -tag -width "calendar/" -compact
523.It Sy calendar/
524a variety of calendar files; see
525.Xr calendar 1
526.It Sy dict/
527word lists;
528see
529.Xr look 1
530and
531.Xr spell 1
532.Pp
533.Bl -tag -width "special/" -compact
534.It Sy words
535common words
536.It Sy web2
537words of Webster's 2nd International
538.It Sy papers/
539reference databases;
540see
541.Xr refer 1
542.It Sy special/
543custom word lists;
544see
545.Xr spell 1
546.El
547.Pp
548.It Sy doc/
549miscellaneous documentation; source for most of the printed
550.Bx 4.3
551manuals (available
552from the
553.Tn USENIX
554association)
555.It Sy games/
556text files used by various games
557.It Sy i18n/
558internationalization databases; see
559.Xr iconv 3
560.It Sy lkm/
561documentation on the loadable kernel modules interface
562.It Sy locale/
563locale databases and gettext message catalogs; see
564.Xr setlocale 3
565and
566.Xr gettext 3
567.It Sy man/
568formatted manual pages
569.It Sy me/
570macros for use with the
571.Xr me 7
572macro package
573.It Sy misc/
574miscellaneous system-wide text files
575.Pp
576.Bl -tag -width "termcap" -compact
577.It Sy termcap
578terminal characteristics database;
579see
580.Xr termcap 5
581.El
582.Pp
583.It Sy mk/
584include files for
585.Xr make 1
586.It Sy ms/
587macros for use with the
588.Xr ms 7
589macro package
590.It Sy nls/
591message catalogs; see
592.Xr catgets 3
593.It Sy skel/
594sample initialization files for new user accounts
595.It Sy tabset/
596tab description files for a variety of terminals, used in
597the termcap file;
598see
599.Xr termcap 5
600.It Sy tmac/
601text processing macros;
602see
603.Xr nroff 1
604and
605.Xr troff 1
606.It Sy zoneinfo/
607timezone configuration information;
608see
609.Xr tzfile 5
610.El
611.El
612.Pp
613.It Sy /usr/src/
614.Nx
615and local source files
616.Pp
617.Bl -tag -width "domestic/" -compact
618.It Sy bin/
619source for utilities/files in
620.Pa /bin
621.It Sy common/
622sources shared between kernel and userland
623.It Sy crypto/
624cryptographic source, which may have import or export restrictions
625.It Sy dist/
626third-party
627.Sq virgin
628source code, referenced by other parts of the source tree
629.It Sy distrib/
630tools and data-files for making distributions
631.It Sy doc/
632documentation about the source tree (i.e., about the tree, not about
633how to use the built software.)
634.It Sy etc/
635source (usually example files) for files in
636.Pa /etc
637.It Sy games/
638source for utilities/files in
639.Pa /usr/games
640.It Sy gnu/
641source for programs covered by the
642.Tn GNU
643license (or similar)
644.It Sy include/
645source for files in
646.Pa /usr/include
647.It Sy lib/
648source for libraries in
649.Pa /usr/lib
650.It Sy libexec/
651source for utilities/files in
652.Pa /usr/libexec
653.It Sy regress/
654various regression tests
655.It Sy rescue/
656source/makefiles for /rescue
657.It Sy sbin/
658source for utilities/files in
659.Pa /sbin
660.It Sy share/
661source for files in
662.Pa /usr/share
663.Pp
664.Bl -tag -width "doc/" -compact
665.It Sy doc/
666.Pp
667.Bl -tag -width "papers/" -compact
668.It Sy papers/
669source for various Berkeley technical papers
670.It Sy psd/
671source for Programmer's Supplementary Documents
672.It Sy smm/
673source for System Manager's Manual
674.It Sy usd/
675source for User's Supplementary Documents
676.Pp
677.El
678.El
679.It Sy sys/
680kernel source files
681.Pp
682.Bl -tag -width "gdbscripts/" -compact
683.It Sy arch/
684architecture-specific support
685.Pp
686.Bl -tag -width "playstation2/" -compact
687.It Sy acorn26/
688Acorn Archimedes, A-series and R-series systems
689.It Sy acorn32/
690Acorn RiscPC/A7000 and VLSI RC7500
691.It Sy algor/
692Algorithmics Ltd. MIPS evaluations boards
693.It Sy alpha/
694Digital/Compaq Alpha
695.It Sy amd64/
696Computers with x86_64 capable CPUs
697.It Sy amiga/
698Commodore Amiga and MacroSystem DraCo
699.It Sy amigappc/
700PowerPC based Amiga boards
701.It Sy arc/
702MIPS-based machines following the Advanced RISC Computing spec
703.It Sy arm/
704ARM processor general support
705.It Sy atari/
706Atari TT030, Falcon and Hades
707.It Sy bebox/
708Be Inc. BeBox
709.It Sy cats/
710Chalice Technology's CATS and Intel's EBSA-285 evaluation boards
711.It Sy cesfic/
712CES FIC8234 VME processor board
713.It Sy cobalt/
714Cobalt Networks' MIPS-based Microserver
715.It Sy dreamcast/
716Sega Dreamcast game console
717.It Sy evbarm/
718ARM based evaluation boards
719.It Sy evbmips/
720MIPS based evaluation boards
721.It Sy evbppc/
722PowerPC based evaluation boards and appliances
723.It Sy evbsh3/
724SH3/SH4 based evaluation boards
725.It Sy evbsh5/
726SH5 based evaluation boards
727.It Sy ews4800mips/
728NEC's MIPS based EWS4800 workstations
729.It Sy hp300/
730Hewlett-Packard 9000/300 and 400 680x0-based workstations
731.It Sy hp700/
732Hewlett-Packard 9000/700 HPPA based workstations
733.It Sy hpcarm/
734StrongARM based WinCE PDA machines
735.It Sy hpcmips/
736MIPS based WinCE PDA machines
737.It Sy hpcsh/
738Hitachi SH3/4 based WinCE PDA machines
739.It Sy hppa/
740HPPA processor general support
741.It Sy i386/
74280x86-based IBM PCs and clones
743.It Sy ibmnws/
744IBM Network Station 1000
745.It Sy iyonix/
746Castle Technology's Iyonix ARM based PCs
747.It Sy luna68k/
748Omron Tateishi Electric's 680x0-based LUNA workstations
749.It Sy m68k/
750680x0 processor general support
751.It Sy mac68k/
752Apple Macintosh with 68k CPU
753.It Sy macppc/
754Apple Power Macintosh and clones
755.It Sy mips/
756MIPS processor general support
757.It Sy mipsco/
758MIPS Computer Systems Inc. family of workstations and servers
759.It Sy mmeye/
760Brains Inc. SH3 based mmEye multimedia server
761.It Sy mvme68k/
762Motorola MVME 680x0-based SBCs
763.It Sy mvmeppc/
764Motorola PowerPC VME SBCs
765.It Sy netwinder/
766StrongARM based NetWinder machines
767.It Sy news68k/
768Sony's 680x0-based NEWS workstations
769.It Sy newsmips/
770Sony's MIPS-based NEWS workstations
771.It Sy next68k/
772NeXT 68k "black" hardware
773.It Sy ofppc/
774Open Firmware PowerPC workstations
775.It Sy pc532/
776The NS32532-based PC532 computer
777.It Sy playstation2/
778SONY PlayStation 2
779.It Sy pmax/
780Digital MIPS-based DECstations and DECsystems
781.It Sy pmppc/
782Artesyn's PM/PPC board
783.It Sy powerpc/
784PowerPC processor support
785.It Sy prep/
786PReP (PowerPC Reference Platform) and CHRP machines
787.It Sy sandpoint/
788Motorola Sandpoint reference platform
789.It Sy sbmips/
790Broadcom/SiByte evaluation boards
791.It Sy sgimips/
792Silicon Graphics' MIPS-based workstations
793.It Sy sh3/
794SH3/SH4 processor general support
795.It Sy sh5/
796SH5 processor general support
797.It Sy shark/
798Digital DNARD ("Shark")
799.It Sy sparc/
800Sun Microsystems SPARC (32-bit) and UltraSPARC (in 32-bit mode)
801.It Sy sparc64/
802Sun Microsystems UltraSPARC (in native 64-bit mode)
803.It Sy sun2/
804Sun Microsystems 68010-based Sun 2 architecture
805.It Sy sun3/
806Sun Microsystems 68020/68030-based Sun 3/3x architecture
807.It Sy sun68k/
808680x0-based Sun architecture general support
809.It Sy vax/
810Digital VAX
811.It Sy x68k/
812Sharp X680x0 680x0-based workstations
813.It Sy x86/
814General support for PC/AT compatibles with ia32 or x86_64 CPUs
815.It Sy xen/
816The Xen virtual machine monitor
817.El
818.Pp
819.It Sy compat/
820kernel compatibility modules directory
821.Pp
822.Bl -tag -width "ossaudio/" -compact
823.It Sy common/
824common compatibility routines, old
825.Bx 4
826and
827.Nx
828routines.
829.It Sy freebsd/
830support for
831.Fx
832binaries; see
833.Xr compat_freebsd 8
834.It Sy hpux/
835support for 68000 HP-UX binaries
836.It Sy ibcs2/
837support for Intel Binary binaries
838.It Sy linux/
839support for Linux binaries; see
840.Xr compat_linux 8
841.It Sy m68k4k/
842support for 4KB page 68000 binaries
843.It Sy netbsd32/
844support for
845.Nx
84632-bit binaries on 64 bit platforms with compatible CPU families
847.It Sy osf1/
848support for
849.Tn Digital
850.Ux
851.Po
852formerly
853.Tn OSF/1
854.Pc
855binaries
856.It Sy ossaudio/
857support for OSS audio
858.It Sy pecoff/
859support for
860.Tn Win32
861binaries; see
862.Xr compat_pecoff 8
863.It Sy sunos/
864support for
865.Tn SunOS 4.x
866binaries; see
867.Xr compat_sunos 8
868.It Sy svr4/
869support for System V Release 4 binaries; see
870.Xr compat_svr4 8
871.It Sy ultrix/
872support for
873.Tn ULTRIX
874binaries
875.It Sy vax1k/
876support for older VAX binaries that started on a 1 KB boundary
877.El
878.Pp
879.It Sy conf/
880architecture independent configuration directory
881.It Sy crypto/
882cryptographic kernel source, which may have import or export restrictions
883.It Sy ddb/
884in kernel debugger
885.It Sy dev/
886architecture independent device support
887.It Sy fs/
888miscellaneous file systems
889.Bl -tag -width "filecorefs/" -compact
890.It Sy adosfs/
891AmigaDOS file-system support; see
892.Xr mount_ados 8
893.It Sy cd9660/
894support for the ISO-9660 filesystem; see
895.Xr mount_cd9660 8
896.It Sy filecorefs/
897support for the Acorn RISC OS filecore filesystem; see
898.Xr mount_filecore 8
899.It Sy msdosfs/
900.Tn MS-DOS
901file system; see
902.Xr mount_msdos 8
903.It Sy ntfs/
904NTFS filesystem support; see
905.Xr mount_ntfs 8
906.It Sy ptyfs/
907pseudo-terminal device filesystem; see
908.Xr mount_ptyfs 8
909.It Sy smbfs/
910SMB/CIFS filesystem support; see
911.Xr mount_smbfs 8
912.It Sy union/
913union file system; see
914.Xr mount_union 8
915.El
916.It Sy gdbscripts/
917support for accessing kernel structures from within the debugger
918.Xr gdb 1 .
919.It Sy ipkdb/
920support for kernel debugging over the network
921.Pp
922.It Sy kern/
923support for the high kernel (system calls)
924.It Sy lib/
925kernel libraries
926.Pp
927.Bl -tag -width "libkern/" -compact
928.It Sy libkern/
929C library routines used in the kernel
930.It Sy libsa/
931machine independent stand alone kernel library
932.It Sy libz/
933compression library
934.El
935.Pp
936.It Sy lkm/
937loadable kernel modules
938.Pp
939.Bl -tag -width "gdbscripts/" -compact
940.It Sy compat/
941LKM support compatibility modules;  currently unsupported.
942.It Sy netinet/
943LKM support networking modules
944.Pp
945.Bl -tag -width "if_ipl/" -compact
946.It Sy if_ipl/
947LKM for IP-Filter
948.El
949.Pp
950.It Sy vfs/
951LKM support for file systems.
952.El
953.Pp
954.It Sy miscfs/
955miscellaneous file systems
956.Pp
957.Bl -tag -width "deadfs/" -compact
958.It Sy deadfs/
959kernel only dead file system
960.It Sy fdesc/
961file descriptor file system; see
962.Xr mount_fdesc 8
963.It Sy fifofs/
964POSIX FIFO support
965.It Sy genfs/
966kernel only generic file system
967.It Sy kernfs/
968kernel namespace file system; see
969.Xr mount_kernfs 8
970.It Sy nullfs/
971loop back file system; see
972.Xr mount_null 8
973.It Sy overlay/
974overlay file system; see
975.Xr mount_overlay 8
976.It Sy portal/
977portal file system; see
978.Xr mount_portal 8
979.It Sy procfs/
980process file system; see
981.Xr mount_procfs 8
982.It Sy specfs/
983kernel only special file system
984.It Sy syncfs/
985kernel trickle sync algorithm
986.It Sy umapfs/
987user and group re-mapping file system; see
988.Xr mount_umap 8
989.El
990.Pp
991.It Sy net/
992miscellaneous networking support
993.It Sy netatalk/
994AppleTalk networking support
995.It Sy netccitt/
996CCITT networking support
997.It Sy netinet/
998IP networking support
999.It Sy netinet6/
1000IPv6 networking support
1001.It Sy netiso/
1002ISO networking support
1003.It Sy netkey/
1004Key database for IPsec networking support
1005.It Sy netnatm/
1006ATM networking support
1007.It Sy netns/
1008XNS networking support
1009.It Sy nfs/
1010NFS support
1011.It Sy stand/
1012kernel standalone support
1013.It Sy sys/
1014kernel (and system) include files
1015.It Sy ufs/
1016local filesystem support
1017.Pp
1018.Bl -tag -width "ffs/" -compact
1019.It Sy ffs/
1020the Berkeley Fast File System
1021.It Sy lfs/
1022the log-structured file system
1023.It Sy mfs/
1024the in-memory file system
1025.It Sy ufs/
1026shared
1027.Ux
1028file system support
1029.El
1030.It Sy uvm/
1031UVM virtual memory system
1032.El
1033.It Sy usr.bin/
1034source for utilities/files in
1035.Pa /usr/bin
1036.It Sy usr.sbin/
1037source for utilities/files in
1038.Pa /usr/sbin
1039.El
1040.It Sy /var/
1041multi-purpose log, temporary, transient, and spool files
1042.Pp
1043.Bl -tag -width "preserve/" -compact
1044.It Sy account/
1045system accounting files
1046.Pp
1047.Bl -tag -width "acct" -compact
1048.It Sy acct
1049execution accounting file;
1050see
1051.Xr acct 5
1052.El
1053.Pp
1054.It Sy at/
1055timed command scheduling files;
1056see
1057.Xr at 1
1058.It Sy backups/
1059miscellaneous backup files, largely of files found in
1060.Pa /etc
1061.It Sy chroot/
1062home directories of applications which are run in a
1063.Xr chroot 8
1064.Dq cage .
1065.It Sy crash/
1066system crash dumps; see
1067.Xr savecore 8
1068.It Sy cron/
1069scheduled commands configuration files; see
1070.Xr cron 8
1071.It Sy db/
1072miscellaneous automatically generated system-specific database files,
1073and persistent files used in the maintenance of third party software.
1074.Pp
1075.Bl -tag -width "monthly.out" -compact
1076.It Sy pkg
1077default location for metadata related to third party software
1078packages.
1079See
1080.Xr pkg_install 1
1081for more details of the
1082.Nx
1083Packages Collection, or pkgsrc.
1084.El
1085.Pp
1086.It Sy games/
1087miscellaneous game status and log files
1088.It Sy heimdal/
1089Kerberos 5 KDC database; see
1090.Xr kdc 8
1091.It Sy log/
1092miscellaneous system log files
1093.Pp
1094.Bl -tag -width "monthly.out" -compact
1095.It Sy amd.*
1096.Xr amd 8
1097logs
1098.It Sy daily.out
1099output of the last run of the
1100.Pa /etc/daily
1101script
1102.It Sy ftp.*
1103.Xr ftp 1
1104logs
1105.It Sy kerberos.*
1106.Xr kerberos 8
1107logs
1108.It Sy lastlog
1109system last time logged in log; see
1110.Xr utmp 5
1111.It Sy lpd-errs.*
1112printer daemon error logs; see
1113.Xr lpd 8
1114.It Sy maillog.*
1115.Xr sendmail 8
1116log files
1117.It Sy messages.*
1118general system information log
1119.It Sy monthly.out
1120output of the last run of the
1121.Pa /etc/monthly
1122script
1123.It Sy secure
1124sensitive security information log
1125.It Sy sendmail.st
1126.Xr sendmail 8
1127statistics
1128.It Sy timed.*
1129.Xr timed 8
1130logs
1131.It Sy weekly.out
1132output of the last run of the
1133.Pa /etc/weekly
1134script
1135.It Sy wtmp
1136login/logout log;
1137see
1138.Xr utmp 5
1139.El
1140.Pp
1141.It Sy mail/
1142user system mailboxes
1143.It Sy msgs/
1144system messages; see
1145.Xr msgs 1
1146.\" since we use nvi (now called vi) this isn't the place any more, is it?
1147.It Sy preserve/
1148temporary home of files preserved after an accidental death of
1149.Xr ex 1
1150or
1151.Xr vi 1
1152.It Sy quotas/
1153filesystem quota information
1154.It Sy run/
1155system information files, rebuilt after each reboot
1156.Pp
1157.Bl -tag -width "utmp" -compact
1158.It Sy utmp
1159database of current users; see
1160.Xr utmp 5
1161.El
1162.Pp
1163.It Sy rwho/
1164rwho data files; see
1165.Xr rwhod 8 ,
1166.Xr rwho 1 ,
1167and
1168.Xr ruptime 1
1169.It Sy spool/
1170miscellaneous printer and mail system spooling directories
1171.Pp
1172.Bl -tag -width "uucppublic/" -compact
1173.It Sy ftp/
1174commonly
1175.Dq ~ftp ,
1176the anonymous ftp root directory; see
1177.Xr ftpd 8
1178.It Sy mqueue/
1179sendmail mail queue;
1180see
1181.Xr sendmail 8
1182.It Sy news/
1183Network news archival and spooling directories
1184.It Sy output/
1185printer spooling directories
1186.It Sy postfix/
1187postfix mail queue;
1188see
1189.Xr postfix 1
1190.It Sy uucp/
1191uucp spool directory
1192.It Sy uucppublic/
1193commonly
1194.Dq ~uucp ,
1195the uucp public temporary directory; see
1196.Xr uucp 1
1197.El
1198.Pp
1199.It Sy tmp/
1200temporary files that are not discarded between system reboots
1201.Pp
1202.Bl -tag -width "vi.recover/" -compact
1203.It Sy vi.recover/
1204recovery directory for new
1205.Xr vi 1
1206.El
1207.Pp
1208.It Sy yp/
1209Databases and configuration for the NIS (YP) system; see
1210.Xr nis 8 .
1211.El
1212.El
1213.Sh SEE ALSO
1214.Xr apropos 1 ,
1215.Xr ls 1 ,
1216.Xr whatis 1 ,
1217.Xr whereis 1 ,
1218.Xr which 1
1219.Sh HISTORY
1220A
1221.Nm
1222manual page appeared in
1223.At v7 .
1224