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