xref: /netbsd-src/share/man/man7/hier.7 (revision c8a35b6227034951e874c2def577388e79ede4a5)
1.\"	$NetBSD: hier.7,v 1.84 2009/01/14 01:51:29 reed 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.ne 1i
389.It Sy /sbin/
390system programs and administration utilities
391used in both single-user and multi-user environments
392.It Sy /stand/
393programs used in a standalone environment
394.It Sy /tmp/
395temporary files, usually a
396.Xr mfs 8
397memory-based filesystem (the contents of
398.Pa /tmp
399are usually
400.Em not
401preserved across a system reboot)
402.It Sy /usr/
403contains the majority of the system utilities and files
404.Pp
405.Bl -tag -width "libdata/" -compact
406.It Sy X11R6/
407X11 files
408.Pp
409.Bl -tag -width "include/" -compact
410.It Sy bin/
411X11 binaries
412.It Sy include/
413X11 include files
414.It Sy lib/
415X11 libraries
416.El
417.Pp
418.It Sy bin/
419common utilities, programming tools, and applications
420.It Sy games/
421the important stuff
422.It Sy include/
423standard C include files
424.Pp
425.Bl -tag -width "protocols/" -compact
426.It Sy arpa/
427include files for Internet service protocols
428.It Sy atf/
429include files for the Automated Testing Framework; see
430.Xr atf 1
431.It Sy g++/
432include files for the C++ compiler
433.It Sy machine/
434machine specific include files
435.It Sy net/
436.It Sy netatalk/
437C include files for AppleTalk protocols
438miscellaneous network include files;
439see
440.Xr atalk 4
441.It Sy netinet/
442include files for Internet standard protocols; see
443.Xr inet 4
444.It Sy netinet6/
445include files for Internet protocol version 6; see
446.Xr inet6 4
447.It Sy netiso/
448include files for ISO standard protocols; see
449.Xr iso 4
450.It Sy netkey/
451include files for secret key management, used for security protocols; see
452.Xr ipsec 4
453.It Sy netnatm/
454C include files for native mode ATM
455.It Sy nfs/
456C include files for NFS (Network File System)
457.It Sy protocols/
458C include files for Berkeley service protocols
459.It Sy sys/
460system C include files (kernel data structures)
461.It Sy ufs/
462C include files for UFS (The U-word File System)
463.El
464.Pp
465.It Sy lib/
466archive, profiled, position independent archive, and shared libraries
467.It Sy libdata/
468miscellaneous utility data files
469.It Sy libexec/
470system daemons \*[Am] system utilities (executed by other programs)
471.Pp
472.Bl -tag -width "uucp/" -compact
473.It Sy uucp/
474UUCP binaries and scripts (historically placed; to be moved)
475.El
476.Pp
477.It Sy mdec/
478boot blocks, etc.
479.It Sy obj/
480architecture-specific target tree produced by building the
481.Pa /usr/src
482tree; normally a symbolic link or mounted filesystem
483.It Sy pkg/
484packages maintained by groups other than the
485.Nx
486Project.
487.Pp
488.Bl -tag -width "include/" -compact
489.It Sy bin/
490contributed binaries
491.It Sy include/
492contributed include files
493.It Sy lib/
494contributed libraries
495.It Sy libdata/
496contributed data files
497.It Sy libexec/
498contributed daemons
499.It Sy sbin/
500contributed system utilities
501.El
502.Pp
503.It Sy pkgsrc/
504build descriptions ("packages") for the
505.Nx
506packages system.
507.Pp
508.Bl -tag -width "distfilesX" -compact
509.It Sy distfiles/
510Where unchanged source archives are fetched to/stored
511.It Sy packages/
512Where compiled binary packages are stored
513.El
514.Pp
515There are also several other subdirectories which contain packages of
516a certain category, e.g., archivers, graphics, ...
517.Pp
518.It Sy sbin/
519system daemons and system utilities (normally executed by the super-user)
520.It Sy share/
521architecture-independent text files
522.Pp
523.Bl -tag -width "calendar/" -compact
524.It Sy calendar/
525a variety of calendar files; see
526.Xr calendar 1
527.It Sy dict/
528word lists;
529see
530.Xr look 1
531and
532.Xr spell 1
533.Pp
534.Bl -tag -width "special/" -compact
535.It Sy words
536common words
537.It Sy web2
538words of Webster's 2nd International
539.It Sy papers/
540reference databases;
541see
542.Xr refer 1
543.It Sy special/
544custom word lists;
545see
546.Xr spell 1
547.El
548.Pp
549.It Sy doc/
550miscellaneous documentation; source for most of the printed
551.Bx 4.3
552manuals (available
553from the
554.Tn USENIX
555association)
556.It Sy games/
557text files used by various games
558.It Sy i18n/
559internationalization databases; see
560.Xr iconv 3
561.It Sy locale/
562locale databases and gettext message catalogs; see
563.Xr setlocale 3
564and
565.Xr gettext 3
566.It Sy man/
567formatted manual pages
568.It Sy me/
569macros for use with the
570.Xr me 7
571macro package
572.It Sy misc/
573miscellaneous system-wide text files
574.Pp
575.Bl -tag -width "termcap" -compact
576.It Sy termcap
577terminal characteristics database;
578see
579.Xr termcap 5
580.El
581.Pp
582.It Sy mk/
583include files for
584.Xr make 1
585.It Sy ms/
586macros for use with the
587.Xr ms 7
588macro package
589.It Sy nls/
590message catalogs; see
591.Xr catgets 3
592.It Sy skel/
593sample initialization files for new user accounts
594.It Sy tabset/
595tab description files for a variety of terminals, used in
596the termcap file;
597see
598.Xr termcap 5
599.It Sy tmac/
600text processing macros;
601see
602.Xr nroff 1
603and
604.Xr troff 1
605.It Sy zoneinfo/
606timezone configuration information;
607see
608.Xr tzfile 5
609.El
610.It Sy tests/
611test programs; see
612.Xr atf-run 1
613for information on how to run them
614.El
615.Pp
616.It Sy /usr/src/
617.Nx
618and local source files
619.Pp
620.Bl -tag -width "domestic/" -compact
621.It Sy bin/
622source for utilities/files in
623.Pa /bin
624.It Sy common/
625sources shared between kernel and userland
626.It Sy crypto/
627cryptographic source, which may have import or export restrictions
628.It Sy dist/
629third-party
630.Sq virgin
631source code, referenced by other parts of the source tree
632.It Sy distrib/
633tools and data-files for making distributions
634.It Sy doc/
635documentation about the source tree (i.e., about the tree, not about
636how to use the built software.)
637.It Sy etc/
638source (usually example files) for files in
639.Pa /etc
640.It Sy external/
641source for programs from external third parties
642(where
643.Nx
644is the not the primary maintainer),
645grouped by license, and then products per license
646.Pp
647.Bl -tag -width "bsd/" -compact
648.It Sy bsd/
649BSD (or equivalent) licensed software,
650possibly with the
651.Dq advertising clause
652.El
653.Pp
654.It Sy games/
655source for utilities/files in
656.Pa /usr/games
657.It Sy gnu/
658source for programs covered by the
659.Tn GNU
660license (or similar)
661.It Sy include/
662source for files in
663.Pa /usr/include
664.It Sy lib/
665source for libraries in
666.Pa /usr/lib
667.It Sy libexec/
668source for utilities/files in
669.Pa /usr/libexec
670.It Sy regress/
671various regression tests
672.It Sy rescue/
673source/makefiles for /rescue
674.It Sy sbin/
675source for utilities/files in
676.Pa /sbin
677.It Sy share/
678source for files in
679.Pa /usr/share
680.Pp
681.Bl -tag -width "doc/" -compact
682.It Sy doc/
683.Pp
684.Bl -tag -width "papers/" -compact
685.It Sy papers/
686source for various Berkeley technical papers
687.It Sy psd/
688source for Programmer's Supplementary Documents
689.It Sy smm/
690source for System Manager's Manual
691.It Sy usd/
692source for User's Supplementary Documents
693.Pp
694.El
695.El
696.It Sy sys/
697kernel source files
698.Pp
699.Bl -tag -width "gdbscripts/" -compact
700.It Sy arch/
701architecture-specific support
702.Pp
703.Bl -tag -width "playstation2/" -compact
704.It Sy acorn26/
705Acorn Archimedes, A-series and R-series systems
706.It Sy acorn32/
707Acorn RiscPC/A7000 and VLSI RC7500
708.It Sy algor/
709Algorithmics Ltd. MIPS evaluations boards
710.It Sy alpha/
711Digital/Compaq Alpha
712.It Sy amd64/
713Computers with x86_64 capable CPUs
714.It Sy amiga/
715Commodore Amiga and MacroSystem DraCo
716.It Sy amigappc/
717PowerPC based Amiga boards
718.It Sy arc/
719MIPS-based machines following the Advanced RISC Computing spec
720.It Sy arm/
721ARM processor general support
722.It Sy atari/
723Atari TT030, Falcon and Hades
724.It Sy bebox/
725Be Inc. BeBox
726.It Sy cats/
727Chalice Technology's CATS and Intel's EBSA-285 evaluation boards
728.It Sy cesfic/
729CES FIC8234 VME processor board
730.It Sy cobalt/
731Cobalt Networks' MIPS-based Microserver
732.It Sy dreamcast/
733Sega Dreamcast game console
734.It Sy evbarm/
735ARM based evaluation boards
736.It Sy evbmips/
737MIPS based evaluation boards
738.It Sy evbppc/
739PowerPC based evaluation boards and appliances
740.It Sy evbsh3/
741SH3/SH4 based evaluation boards
742.It Sy ews4800mips/
743NEC's MIPS based EWS4800 workstations
744.It Sy hp300/
745Hewlett-Packard 9000/300 and 400 680x0-based workstations
746.It Sy hp700/
747Hewlett-Packard 9000/700 HPPA based workstations
748.It Sy hpcarm/
749StrongARM based WinCE PDA machines
750.It Sy hpcmips/
751MIPS based WinCE PDA machines
752.It Sy hpcsh/
753Hitachi SH3/4 based WinCE PDA machines
754.It Sy hppa/
755HPPA processor general support
756.It Sy i386/
75780x86-based IBM PCs and clones
758.It Sy ibmnws/
759IBM Network Station 1000
760.It Sy iyonix/
761Castle Technology's Iyonix ARM based PCs
762.It Sy luna68k/
763Omron Tateishi Electric's 680x0-based LUNA workstations
764.It Sy m68k/
765680x0 processor general support
766.It Sy mac68k/
767Apple Macintosh with 68k CPU
768.It Sy macppc/
769Apple Power Macintosh and clones
770.It Sy mips/
771MIPS processor general support
772.It Sy mipsco/
773MIPS Computer Systems Inc. family of workstations and servers
774.It Sy mmeye/
775Brains Inc. SH3 based mmEye multimedia server
776.It Sy mvme68k/
777Motorola MVME 680x0-based SBCs
778.It Sy mvmeppc/
779Motorola PowerPC VME SBCs
780.It Sy netwinder/
781StrongARM based NetWinder machines
782.It Sy news68k/
783Sony's 680x0-based NEWS workstations
784.It Sy newsmips/
785Sony's MIPS-based NEWS workstations
786.It Sy next68k/
787NeXT 68k "black" hardware
788.It Sy ofppc/
789Open Firmware PowerPC workstations
790.It Sy playstation2/
791SONY PlayStation 2
792.It Sy pmax/
793Digital MIPS-based DECstations and DECsystems
794.It Sy powerpc/
795PowerPC processor support
796.It Sy prep/
797PReP (PowerPC Reference Platform) and CHRP machines
798.It Sy sandpoint/
799Motorola Sandpoint reference platform
800.It Sy sbmips/
801Broadcom/SiByte evaluation boards
802.It Sy sgimips/
803Silicon Graphics' MIPS-based workstations
804.It Sy sh3/
805SH3/SH4 processor general support
806.It Sy shark/
807Digital DNARD ("Shark")
808.It Sy sparc/
809Sun Microsystems SPARC (32-bit) and UltraSPARC (in 32-bit mode)
810.It Sy sparc64/
811Sun Microsystems UltraSPARC (in native 64-bit mode)
812.It Sy sun2/
813Sun Microsystems 68010-based Sun 2 architecture
814.It Sy sun3/
815Sun Microsystems 68020/68030-based Sun 3/3x architecture
816.It Sy sun68k/
817680x0-based Sun architecture general support
818.It Sy vax/
819Digital VAX
820.It Sy x68k/
821Sharp X680x0 680x0-based workstations
822.It Sy x86/
823General support for PC/AT compatibles with ia32 or x86_64 CPUs
824.It Sy xen/
825The Xen virtual machine monitor
826.It Sy zaurus/
827Sharp C3x00 Arm based PDA
828.El
829.Pp
830.It Sy compat/
831kernel compatibility modules directory
832.Pp
833.Bl -tag -width "ossaudio/" -compact
834.It Sy common/
835common compatibility routines, old
836.Bx 4
837and
838.Nx
839routines.
840.It Sy freebsd/
841support for
842.Fx
843binaries; see
844.Xr compat_freebsd 8
845.It Sy hpux/
846support for 68000 HP-UX binaries
847.It Sy ibcs2/
848support for Intel Binary binaries
849.It Sy linux/
850support for Linux binaries; see
851.Xr compat_linux 8
852.It Sy m68k4k/
853support for 4KB page 68000 binaries
854.It Sy netbsd32/
855support for
856.Nx
85732-bit binaries on 64 bit platforms with compatible CPU families
858.It Sy osf1/
859support for
860.Tn Digital
861.Ux
862.Po
863formerly
864.Tn OSF/1
865.Pc
866binaries
867.It Sy ossaudio/
868support for OSS audio
869.It Sy pecoff/
870support for
871.Tn Win32
872binaries; see
873.Xr compat_pecoff 8
874.It Sy sunos/
875support for
876.Tn SunOS 4.x
877binaries; see
878.Xr compat_sunos 8
879.It Sy svr4/
880support for System V Release 4 binaries; see
881.Xr compat_svr4 8
882.It Sy ultrix/
883support for
884.Tn ULTRIX
885binaries
886.It Sy vax1k/
887support for older VAX binaries that started on a 1 KB boundary
888.El
889.Pp
890.It Sy conf/
891architecture independent configuration directory
892.It Sy crypto/
893cryptographic kernel source, which may have import or export restrictions
894.It Sy ddb/
895in kernel debugger
896.It Sy dev/
897architecture independent device support
898.It Sy fs/
899miscellaneous file systems
900.Bl -tag -width "filecorefs/" -compact
901.It Sy adosfs/
902AmigaDOS file-system support; see
903.Xr mount_ados 8
904.It Sy cd9660/
905support for the ISO-9660 filesystem; see
906.Xr mount_cd9660 8
907.It Sy filecorefs/
908support for the Acorn RISC OS filecore filesystem; see
909.Xr mount_filecore 8
910.It Sy msdosfs/
911.Tn MS-DOS
912file system; see
913.Xr mount_msdos 8
914.It Sy ntfs/
915NTFS filesystem support; see
916.Xr mount_ntfs 8
917.It Sy ptyfs/
918pseudo-terminal device filesystem; see
919.Xr mount_ptyfs 8
920.It Sy smbfs/
921SMB/CIFS filesystem support; see
922.Xr mount_smbfs 8
923.It Sy union/
924union file system; see
925.Xr mount_union 8
926.El
927.It Sy gdbscripts/
928support for accessing kernel structures from within the debugger
929.Xr gdb 1 .
930.It Sy ipkdb/
931support for kernel debugging over the network
932.Pp
933.It Sy kern/
934support for the high kernel (system calls)
935.It Sy lib/
936kernel libraries
937.Pp
938.Bl -tag -width "libkern/" -compact
939.It Sy libkern/
940C library routines used in the kernel
941.It Sy libsa/
942machine independent stand alone kernel library
943.It Sy libz/
944compression library
945.El
946.Pp
947.It Sy miscfs/
948miscellaneous file systems
949.Pp
950.Bl -tag -width "deadfs/" -compact
951.It Sy deadfs/
952kernel only dead file system
953.It Sy fdesc/
954file descriptor file system; see
955.Xr mount_fdesc 8
956.It Sy fifofs/
957POSIX FIFO support
958.It Sy genfs/
959kernel only generic file system
960.It Sy kernfs/
961kernel namespace file system; see
962.Xr mount_kernfs 8
963.It Sy nullfs/
964loop back file system; see
965.Xr mount_null 8
966.It Sy overlay/
967overlay file system; see
968.Xr mount_overlay 8
969.It Sy portal/
970portal file system; see
971.Xr mount_portal 8
972.It Sy procfs/
973process file system; see
974.Xr mount_procfs 8
975.It Sy specfs/
976kernel only special file system
977.It Sy syncfs/
978kernel trickle sync algorithm
979.It Sy umapfs/
980user and group re-mapping file system; see
981.Xr mount_umap 8
982.El
983.Pp
984.It Sy net/
985miscellaneous networking support
986.It Sy netatalk/
987AppleTalk networking support
988.It Sy netinet/
989IP networking support
990.It Sy netinet6/
991IPv6 networking support
992.It Sy netiso/
993ISO networking support
994.It Sy netkey/
995Key database for IPsec networking support
996.It Sy netnatm/
997ATM networking support
998.It Sy nfs/
999NFS support
1000.It Sy stand/
1001kernel standalone support
1002.It Sy sys/
1003kernel (and system) include files
1004.It Sy ufs/
1005local filesystem support
1006.Pp
1007.Bl -tag -width "ffs/" -compact
1008.It Sy ffs/
1009the Berkeley Fast File System
1010.It Sy lfs/
1011the log-structured file system
1012.It Sy mfs/
1013the in-memory file system
1014.It Sy ufs/
1015shared
1016.Ux
1017file system support
1018.El
1019.It Sy uvm/
1020UVM virtual memory system
1021.El
1022.It Sy tests/
1023source for test programs in
1024.Pa /usr/tests
1025.It Sy usr.bin/
1026source for utilities/files in
1027.Pa /usr/bin
1028.It Sy usr.sbin/
1029source for utilities/files in
1030.Pa /usr/sbin
1031.El
1032.It Sy /var/
1033multi-purpose log, temporary, transient, and spool files
1034.Pp
1035.Bl -tag -width "preserve/" -compact
1036.It Sy account/
1037system accounting files
1038.Pp
1039.Bl -tag -width "acct" -compact
1040.It Sy acct
1041execution accounting file;
1042see
1043.Xr acct 5
1044.El
1045.Pp
1046.It Sy at/
1047timed command scheduling files;
1048see
1049.Xr at 1
1050.It Sy backups/
1051miscellaneous backup files, largely of files found in
1052.Pa /etc
1053.It Sy chroot/
1054home directories of applications which are run in a
1055.Xr chroot 8
1056.Dq cage .
1057.It Sy crash/
1058system crash dumps; see
1059.Xr savecore 8
1060.It Sy cron/
1061scheduled commands configuration files; see
1062.Xr cron 8
1063.It Sy db/
1064miscellaneous automatically generated system-specific database files,
1065and persistent files used in the maintenance of third party software.
1066.Pp
1067.Bl -tag -width "monthly.out" -compact
1068.It Sy pkg
1069default location for metadata related to third party software
1070packages.
1071See
1072.Xr pkg_install 1
1073for more details of the
1074.Nx
1075Packages Collection, or pkgsrc.
1076.El
1077.Pp
1078.It Sy games/
1079miscellaneous game status and log files
1080.It Sy heimdal/
1081Kerberos 5 KDC database; see
1082.Xr kdc 8
1083.It Sy log/
1084miscellaneous system log files
1085.Pp
1086.Bl -tag -width "monthly.out" -compact
1087.It Sy amd.*
1088.Xr amd 8
1089logs
1090.It Sy daily.out
1091output of the last run of the
1092.Pa /etc/daily
1093script
1094.It Sy ftp.*
1095.Xr ftp 1
1096logs
1097.It Sy kerberos.*
1098.Xr kerberos 8
1099logs
1100.It Sy lastlog
1101system last time logged in log; see
1102.Xr utmp 5
1103.It Sy lpd-errs.*
1104printer daemon error logs; see
1105.Xr lpd 8
1106.It Sy maillog.*
1107.Xr sendmail 8
1108log files
1109.It Sy messages.*
1110general system information log
1111.It Sy monthly.out
1112output of the last run of the
1113.Pa /etc/monthly
1114script
1115.It Sy secure
1116sensitive security information log
1117.It Sy sendmail.st
1118.Xr sendmail 8
1119statistics
1120.It Sy timed.*
1121.Xr timed 8
1122logs
1123.It Sy weekly.out
1124output of the last run of the
1125.Pa /etc/weekly
1126script
1127.It Sy wtmp
1128login/logout log;
1129see
1130.Xr utmp 5
1131.El
1132.Pp
1133.It Sy mail/
1134user system mailboxes
1135.It Sy msgs/
1136system messages; see
1137.Xr msgs 1
1138.\" since we use nvi (now called vi) this isn't the place any more, is it?
1139.It Sy preserve/
1140temporary home of files preserved after an accidental death of
1141.Xr ex 1
1142or
1143.Xr vi 1
1144.It Sy quotas/
1145filesystem quota information
1146.It Sy run/
1147system information files, rebuilt after each reboot
1148.Pp
1149.Bl -tag -width "utmp" -compact
1150.It Sy utmp
1151database of current users; see
1152.Xr utmp 5
1153.El
1154.Pp
1155.It Sy rwho/
1156rwho data files; see
1157.Xr rwhod 8 ,
1158.Xr rwho 1 ,
1159and
1160.Xr ruptime 1
1161.It Sy spool/
1162miscellaneous printer and mail system spooling directories
1163.Pp
1164.Bl -tag -width "uucppublic/" -compact
1165.It Sy ftp/
1166commonly
1167.Dq ~ftp ,
1168the anonymous ftp root directory; see
1169.Xr ftpd 8
1170.It Sy mqueue/
1171sendmail mail queue;
1172see
1173.Xr sendmail 8
1174.It Sy news/
1175Network news archival and spooling directories
1176.It Sy output/
1177printer spooling directories
1178.It Sy postfix/
1179postfix mail queue;
1180see
1181.Xr postfix 1
1182.It Sy uucp/
1183uucp spool directory
1184.It Sy uucppublic/
1185commonly
1186.Dq ~uucp ,
1187the uucp public temporary directory; see
1188.Xr uucp 1
1189.El
1190.Pp
1191.It Sy tmp/
1192temporary files that are not discarded between system reboots
1193.Pp
1194.Bl -tag -width "vi.recover/" -compact
1195.It Sy vi.recover/
1196recovery directory for new
1197.Xr vi 1
1198.El
1199.Pp
1200.It Sy yp/
1201Databases and configuration for the NIS (YP) system; see
1202.Xr nis 8 .
1203.El
1204.El
1205.Sh SEE ALSO
1206.Xr apropos 1 ,
1207.Xr ls 1 ,
1208.Xr whatis 1 ,
1209.Xr whereis 1 ,
1210.Xr which 1
1211.Sh HISTORY
1212A
1213.Nm
1214manual page appeared in
1215.At v7 .
1216