xref: /netbsd-src/share/man/man7/hier.7 (revision aad9773e38ed2370a628a6416e098f9008fc10a7)
1.\"	$NetBSD: hier.7,v 1.109 2014/03/31 11:25:48 martin 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 December 23, 2013
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 1
212.Pp
213.Bl -tag -width "sendmail.*" -compact
214.It Sy aliases*
215name alias files
216.It Sy sendmail.*
217.Xr sendmail 1
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 ttys
325terminal initialization information; see
326.Xr ttys 5
327.It Sy weekly
328script run each week by
329.Xr cron 8
330.It Sy weekly.conf
331configuration file for
332.Sy weekly ;
333see
334.Xr weekly.conf 5
335.El
336.It Sy /home/
337mount point for the automounter; see
338.Xr amd 8
339.It Sy /kern/
340mount point for the kern file system; see
341.Xr mount_kernfs 8
342.It Sy /lib/
343dynamic linked libraries used by dynamic linked programs
344(such as those in
345.Pa /bin/
346and
347.Pa /sbin/ )
348that cannot rely upon
349.Pa /usr/lib/
350being available.
351.It Sy /libdata/
352non-executable files
353.Pq such as device firmware
354required at boot time, when
355.Pa /usr/libdata
356may not be available.
357.It Sy /libexec/
358system utilities (such as the dynamic linker) required by programs
359and libraries that cannot rely upon
360.Pa /usr/libexec/
361being available.
362.It Sy /mnt/
363empty directory commonly used by
364system administrators as a temporary mount point
365.It Sy /netbsd
366pure kernel executable (the operating system loaded into memory
367at boot time).
368.It Sy /proc/
369mount point for the process file system; see
370.Xr mount_procfs 8
371.It Sy /rescue/
372statically linked rescue tools, for use in system recovery
373.It Sy /root/
374home directory for the super-user
375.Pp
376.Bl -tag -width ".profile" -compact
377.It Sy \&.cshrc
378super-user start-up file
379.It Sy \&.login
380super-user start-up file
381.It Sy \&.profile
382super-user start-up file
383.It Sy \&.rhosts
384super-user id mapping between machines
385.El
386.It Sy /sbin/
387system programs and administration utilities
388used in both single-user and multi-user environments
389.It Sy /stand/
390programs used in a standalone environment
391.It Sy /tmp/
392temporary files, usually a
393.Xr mfs 8
394memory-based filesystem (the contents of
395.Pa /tmp
396are usually
397.Em not
398preserved across a system reboot)
399.It Sy /usr/
400contains the majority of the system utilities and files
401.Pp
402.Bl -tag -width "libdata/" -compact
403.It Sy X11R6/
404X11 files
405.It Sy X11R7/
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 7
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 netkey/
447include files for secret key management, used for security protocols; see
448.Xr ipsec 4
449.It Sy netnatm/
450C include files for native mode ATM
451.It Sy nfs/
452C include files for NFS (Network File System)
453.It Sy protocols/
454C include files for Berkeley service protocols
455.It Sy sys/
456system C include files (kernel data structures)
457.It Sy ufs/
458C include files for UFS (The U-word File System)
459.El
460.Pp
461.It Sy lib/
462archive, profiled, position independent archive, and shared libraries
463.Pp
464.Bl -tag -width "lua/" -compact
465.It Sy lua/
466.Bl -tag -width "5.1/" -compact
467.It Sy 5.1/
468Lua 5.1 modules
469.El
470.El
471.Pp
472.It Sy libdata/
473miscellaneous utility data files
474.It Sy libexec/
475system daemons \*[Am] system utilities (executed by other programs)
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 "terminfo.cdb" -compact
576.It Sy terminfo
577terminal characteristics database;
578see
579.Xr terminfo 5
580.It Sy terminfo.cdb
581database form of terminfo file; see
582.Xr tic 1
583.El
584.Pp
585.It Sy mk/
586include files for
587.Xr make 1
588.It Sy ms/
589macros for use with the
590.Xr ms 7
591macro package
592.It Sy nls/
593message catalogs; see
594.Xr catgets 3
595.It Sy skel/
596sample initialization files for new user accounts
597.It Sy tmac/
598text processing macros;
599see
600.Xr nroff 1
601and
602.Xr troff 1
603.It Sy zoneinfo/
604timezone configuration information;
605see
606.Xr tzfile 5
607.El
608.It Sy tests/
609test programs; see
610.Xr atf-run 1
611for information on how to run them
612.El
613.Pp
614.It Sy /usr/src/
615.Nx
616and local source files
617.Pp
618.Bl -tag -width "domestic/" -compact
619.It Sy bin/
620source for utilities/files in
621.Pa /bin
622.It Sy common/
623sources shared between kernel and userland
624.It Sy crypto/
625cryptographic source, which may have import or export restrictions
626.It Sy dist/
627third-party
628.Sq virgin
629source code, referenced by other parts of the source tree (deprecated, use
630.Sy external/
631instead)
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 "intel-fw-public/" -compact
648.It Sy apache2/
649Apache 2.0 license.
650.It Sy bsd/
651BSD (or equivalent) licensed software,
652possibly with the
653.Dq advertising clause .
654.It Sy cddl/
655Common Development and Distribution License (the Sun license which is
656based on the Mozilla Public License version 1.1).
657.It Sy gpl2/
658GNU Public License, version 2 (or earlier).
659.It Sy gpl3/
660GNU Public License, version 3.
661.It Sy historical/
662Lucent's old license.
663.It Sy ibm-public/
664IBM's public license.
665.It Sy intel-fw-eula/
666Intel firmware license with redistribution restricted to OEM.
667.It Sy intel-fw-public/
668Intel firmware license permitting redistribution with
669terms similar to BSD licensed software.
670.It Sy intel-public/
671Intel license permitting redistribution with terms similar to
672BSD licensed software.
673.It Sy mit/
674MIT (X11) style license.
675.It Sy zlib/
676BSD-like zlib license.
677.El
678.Pp
679.It Sy games/
680source for utilities/files in
681.Pa /usr/games
682.It Sy gnu/
683source for programs covered by the
684.Tn GNU
685license (or similar) (deprecated; use
686.Sy external/gpl2/
687or
688.Sy external/gpl3/
689as appropriate)
690.It Sy include/
691source for files in
692.Pa /usr/include
693.It Sy lib/
694source for libraries in
695.Pa /usr/lib
696.It Sy libexec/
697source for utilities/files in
698.Pa /usr/libexec
699.It Sy regress/
700various regression tests
701.It Sy rescue/
702source/makefiles for /rescue
703.It Sy sbin/
704source for utilities/files in
705.Pa /sbin
706.It Sy share/
707source for files in
708.Pa /usr/share
709.Pp
710.Bl -tag -width "doc/" -compact
711.It Sy doc/
712.Pp
713.Bl -tag -width "papers/" -compact
714.It Sy papers/
715source for various Berkeley technical papers
716.It Sy psd/
717source for Programmer's Supplementary Documents
718.It Sy smm/
719source for System Manager's Manual
720.It Sy usd/
721source for User's Supplementary Documents
722.Pp
723.El
724.El
725.It Sy sys/
726kernel source files
727.Pp
728.Bl -tag -width "gdbscripts/" -compact
729.It Sy arch/
730architecture-specific support
731.Pp
732.Bl -tag -width "playstation2/" -compact
733.It Sy acorn26/
734Acorn Archimedes, A-series and R-series systems
735.It Sy acorn32/
736Acorn RiscPC/A7000 and VLSI RC7500
737.It Sy algor/
738Algorithmics Ltd. MIPS evaluations boards
739.It Sy alpha/
740Digital/Compaq Alpha
741.It Sy amd64/
742Computers with x86_64 capable CPUs
743.It Sy amiga/
744Commodore Amiga and MacroSystem DraCo
745.It Sy amigappc/
746PowerPC based Amiga boards
747.It Sy arc/
748MIPS-based machines following the Advanced RISC Computing spec
749.It Sy arm/
750ARM processor general support
751.It Sy atari/
752Atari TT030, Falcon and Hades
753.It Sy bebox/
754Be Inc. BeBox
755.It Sy cats/
756Chalice Technology's CATS and Intel's EBSA-285 evaluation boards
757.It Sy cesfic/
758CES FIC8234 VME processor board
759.It Sy cobalt/
760Cobalt Networks' MIPS-based Microserver
761.It Sy dreamcast/
762Sega Dreamcast game console
763.It Sy emips/
764Machines based on Extensible MIPS
765.It Sy evbarm/
766ARM based evaluation boards
767.It Sy evbmips/
768MIPS based evaluation boards
769.It Sy evbppc/
770PowerPC based evaluation boards and appliances
771.It Sy evbsh3/
772SH3/SH4 based evaluation boards
773.It Sy ews4800mips/
774NEC's MIPS based EWS4800 workstations
775.It Sy hp300/
776Hewlett-Packard 9000/300 and 400 680x0-based workstations
777.It Sy hppa/
778Hewlett-Packard 9000/700 and 9000/800 HPPA based workstations
779.It Sy hpcarm/
780StrongARM based WinCE PDA machines
781.It Sy hpcmips/
782MIPS based WinCE PDA machines
783.It Sy hpcsh/
784Hitachi SH3/4 based WinCE PDA machines
785.It Sy hppa/
786HPPA processor general support
787.It Sy i386/
78880x86-based IBM PCs and clones
789.It Sy ibmnws/
790IBM Network Station 1000
791.It Sy iyonix/
792Castle Technology's Iyonix ARM based PCs
793.It Sy luna68k/
794Omron Tateishi Electric's 680x0-based LUNA workstations
795.It Sy m68k/
796680x0 processor general support
797.It Sy mac68k/
798Apple Macintosh with 68k CPU
799.It Sy macppc/
800Apple Power Macintosh and clones
801.It Sy mips/
802MIPS processor general support
803.It Sy mipsco/
804MIPS Computer Systems Inc. family of workstations and servers
805.It Sy mmeye/
806Brains Inc. SH3 based mmEye multimedia server
807.It Sy mvme68k/
808Motorola MVME 680x0-based SBCs
809.It Sy mvmeppc/
810Motorola PowerPC VME SBCs
811.It Sy netwinder/
812StrongARM based NetWinder machines
813.It Sy news68k/
814Sony's 680x0-based NEWS workstations
815.It Sy newsmips/
816Sony's MIPS-based NEWS workstations
817.It Sy next68k/
818NeXT 68k "black" hardware
819.It Sy ofppc/
820Open Firmware PowerPC workstations
821.It Sy playstation2/
822SONY PlayStation 2
823.It Sy pmax/
824Digital MIPS-based DECstations and DECsystems
825.It Sy powerpc/
826PowerPC processor support
827.It Sy prep/
828PReP (PowerPC Reference Platform) and CHRP machines
829.It Sy sandpoint/
830Motorola Sandpoint reference platform
831.It Sy sbmips/
832Broadcom/SiByte evaluation boards
833.It Sy sgimips/
834Silicon Graphics' MIPS-based workstations
835.It Sy sh3/
836SH3/SH4 processor general support
837.It Sy shark/
838Digital DNARD ("Shark")
839.It Sy sparc/
840Sun Microsystems SPARC (32-bit) and UltraSPARC (in 32-bit mode)
841.It Sy sparc64/
842Sun Microsystems UltraSPARC (in native 64-bit mode)
843.It Sy sun2/
844Sun Microsystems 68010-based Sun 2 architecture
845.It Sy sun3/
846Sun Microsystems 68020/68030-based Sun 3/3x architecture
847.It Sy sun68k/
848680x0-based Sun architecture general support
849.It Sy vax/
850Digital VAX
851.It Sy x68k/
852Sharp X680x0 680x0-based workstations
853.It Sy x86/
854General support for PC/AT compatibles with ia32 or x86_64 CPUs
855.It Sy xen/
856The Xen virtual machine monitor
857.It Sy zaurus/
858Sharp C3x00 Arm based PDA
859.El
860.Pp
861.It Sy compat/
862kernel compatibility modules directory
863.Pp
864.Bl -tag -width "ossaudio/" -compact
865.It Sy common/
866common compatibility routines, old
867.Bx 4
868and
869.Nx
870routines.
871.It Sy freebsd/
872support for
873.Fx
874binaries; see
875.Xr compat_freebsd 8
876.It Sy hpux/
877support for 68000 HP-UX binaries
878.It Sy ibcs2/
879support for Intel Binary binaries
880.It Sy linux/
881support for Linux binaries; see
882.Xr compat_linux 8
883.It Sy m68k4k/
884support for 4KB page 68000 binaries
885.It Sy netbsd32/
886support for
887.Nx
88832-bit binaries on 64 bit platforms with compatible CPU families
889.It Sy osf1/
890support for
891.Tn Digital
892.Ux
893.Po
894formerly
895.Tn OSF/1
896.Pc
897binaries
898.It Sy ossaudio/
899support for OSS audio
900.It Sy sunos/
901support for
902.Tn SunOS 4.x
903binaries; see
904.Xr compat_sunos 8
905.It Sy svr4/
906support for System V Release 4 binaries; see
907.Xr compat_svr4 8
908.It Sy ultrix/
909support for
910.Tn ULTRIX
911binaries
912.It Sy vax1k/
913support for older VAX binaries that started on a 1 KB boundary
914.El
915.Pp
916.It Sy conf/
917architecture independent configuration directory
918.It Sy crypto/
919cryptographic kernel source, which may have import or export restrictions
920.It Sy ddb/
921in kernel debugger
922.It Sy dev/
923architecture independent device support
924.It Sy fs/
925miscellaneous file systems
926.Bl -tag -width "filecorefs/" -compact
927.It Sy adosfs/
928AmigaDOS file-system support; see
929.Xr mount_ados 8
930.It Sy cd9660/
931support for the ISO-9660 filesystem; see
932.Xr mount_cd9660 8
933.It Sy filecorefs/
934support for the Acorn RISC OS filecore filesystem; see
935.Xr mount_filecore 8
936.It Sy msdosfs/
937.Tn MS-DOS
938file system; see
939.Xr mount_msdos 8
940.It Sy ntfs/
941NTFS filesystem support; see
942.Xr mount_ntfs 8
943.It Sy ptyfs/
944pseudo-terminal device filesystem; see
945.Xr mount_ptyfs 8
946.It Sy smbfs/
947SMB/CIFS filesystem support; see
948.Xr mount_smbfs 8
949.It Sy union/
950union file system; see
951.Xr mount_union 8
952.El
953.It Sy gdbscripts/
954support for accessing kernel structures from within the debugger
955.Xr gdb 1 .
956.It Sy ipkdb/
957support for kernel debugging over the network
958.Pp
959.It Sy kern/
960support for the high kernel (system calls)
961.It Sy lib/
962kernel libraries
963.Pp
964.Bl -tag -width "libkern/" -compact
965.It Sy libkern/
966C library routines used in the kernel
967.It Sy libsa/
968machine independent stand alone kernel library
969.It Sy libz/
970compression library
971.El
972.Pp
973.It Sy miscfs/
974miscellaneous file systems
975.Pp
976.Bl -tag -width "deadfs/" -compact
977.It Sy deadfs/
978kernel only dead file system
979.It Sy fdesc/
980file descriptor file system; see
981.Xr mount_fdesc 8
982.It Sy fifofs/
983POSIX FIFO support
984.It Sy genfs/
985kernel only generic file system
986.It Sy kernfs/
987kernel namespace file system; see
988.Xr mount_kernfs 8
989.It Sy nullfs/
990loop back file system; see
991.Xr mount_null 8
992.It Sy overlay/
993overlay file system; see
994.Xr mount_overlay 8
995.It Sy procfs/
996process file system; see
997.Xr mount_procfs 8
998.It Sy specfs/
999kernel only special file system
1000.It Sy syncfs/
1001kernel trickle sync algorithm
1002.It Sy umapfs/
1003user and group re-mapping file system; see
1004.Xr mount_umap 8
1005.El
1006.Pp
1007.It Sy net/
1008miscellaneous networking support
1009.It Sy netatalk/
1010AppleTalk networking support
1011.It Sy netinet/
1012IP networking support
1013.It Sy netinet6/
1014IPv6 networking support
1015.It Sy netkey/
1016Key database for IPsec networking support
1017.It Sy netnatm/
1018ATM networking support
1019.It Sy nfs/
1020NFS support
1021.It Sy stand/
1022kernel standalone support
1023.It Sy sys/
1024kernel (and system) include files
1025.It Sy ufs/
1026local filesystem support
1027.Pp
1028.Bl -tag -width "ffs/" -compact
1029.It Sy ffs/
1030the Berkeley Fast File System
1031.It Sy lfs/
1032the log-structured file system
1033.It Sy mfs/
1034the in-memory file system
1035.It Sy ufs/
1036shared
1037.Ux
1038file system support
1039.El
1040.It Sy uvm/
1041UVM virtual memory system
1042.El
1043.It Sy tests/
1044source for test programs in
1045.Pa /usr/tests
1046.It Sy usr.bin/
1047source for utilities/files in
1048.Pa /usr/bin
1049.It Sy usr.sbin/
1050source for utilities/files in
1051.Pa /usr/sbin
1052.El
1053.It Sy /var/
1054multi-purpose log, temporary, transient, and spool files
1055.Pp
1056.Bl -tag -width "preserve/" -compact
1057.It Sy account/
1058system accounting files
1059.Pp
1060.Bl -tag -width "acct" -compact
1061.It Sy acct
1062execution accounting file;
1063see
1064.Xr acct 5
1065.El
1066.Pp
1067.It Sy at/
1068timed command scheduling files;
1069see
1070.Xr at 1
1071.It Sy backups/
1072miscellaneous backup files, largely of files found in
1073.Pa /etc
1074.It Sy chroot/
1075home directories of applications which are run in a
1076.Xr chroot 8
1077.Dq cage .
1078.It Sy crash/
1079system crash dumps; see
1080.Xr savecore 8
1081.It Sy cron/
1082scheduled commands configuration files; see
1083.Xr cron 8
1084.It Sy db/
1085miscellaneous automatically generated system-specific database files,
1086and persistent files used in the maintenance of third party software.
1087.Pp
1088.Bl -tag -width "monthly.out" -compact
1089.It Sy pkg
1090default location for metadata related to third party software
1091packages.
1092See
1093.Xr pkg_add 1
1094for more details of the
1095.Nx
1096Packages Collection, or pkgsrc.
1097.El
1098.Pp
1099.It Sy games/
1100miscellaneous game status and log files
1101.It Sy heimdal/
1102Kerberos 5 KDC database; see
1103.Xr kdc 8
1104.It Sy log/
1105miscellaneous system log files
1106.Pp
1107.Bl -tag -width "monthly.out" -compact
1108.It Sy amd.*
1109.Xr amd 8
1110logs
1111.It Sy daily.out
1112output of the last run of the
1113.Pa /etc/daily
1114script
1115.It Sy ftp.*
1116.Xr ftp 1
1117logs
1118.It Sy kerberos.*
1119.Xr kerberos 8
1120logs
1121.It Sy lastlog
1122system last time logged in log; see
1123.Xr utmp 5
1124.It Sy lpd-errs.*
1125printer daemon error logs; see
1126.Xr lpd 8
1127.It Sy maillog.*
1128.Xr sendmail 1
1129log files
1130.It Sy messages.*
1131general system information log
1132.It Sy monthly.out
1133output of the last run of the
1134.Pa /etc/monthly
1135script
1136.It Sy secure
1137sensitive security information log
1138.It Sy sendmail.st
1139.Xr sendmail 1
1140statistics
1141.It Sy timed.*
1142.Xr timed 8
1143logs
1144.It Sy weekly.out
1145output of the last run of the
1146.Pa /etc/weekly
1147script
1148.It Sy wtmp
1149login/logout log;
1150see
1151.Xr utmp 5
1152.El
1153.Pp
1154.It Sy mail/
1155user system mailboxes
1156.It Sy msgs/
1157system messages; see
1158.Xr msgs 1
1159.\" since we use nvi (now called vi) this isn't the place any more, is it?
1160.It Sy preserve/
1161temporary home of files preserved after an accidental death of
1162.Xr ex 1
1163or
1164.Xr vi 1
1165.It Sy quotas/
1166filesystem quota information
1167.It Sy run/
1168system information files, rebuilt after each reboot
1169.Pp
1170.Bl -tag -width "utmp" -compact
1171.It Sy utmp
1172database of current users; see
1173.Xr utmp 5
1174.El
1175.Pp
1176.It Sy rwho/
1177rwho data files; see
1178.Xr rwhod 8 ,
1179.Xr rwho 1 ,
1180and
1181.Xr ruptime 1
1182.It Sy spool/
1183miscellaneous printer and mail system spooling directories
1184.Pp
1185.Bl -tag -width "postfix/" -compact
1186.It Sy ftp/
1187commonly
1188.Dq ~ftp ,
1189the anonymous ftp root directory; see
1190.Xr ftpd 8
1191.It Sy mqueue/
1192sendmail mail queue;
1193see
1194.Xr sendmail 1
1195.It Sy news/
1196Network news archival and spooling directories
1197.It Sy output/
1198printer spooling directories
1199.It Sy postfix/
1200postfix mail queue;
1201see
1202.Xr postfix 1
1203.El
1204.Pp
1205.It Sy tmp/
1206temporary files that are not discarded between system reboots
1207.Pp
1208.Bl -tag -width "vi.recover/" -compact
1209.It Sy vi.recover/
1210recovery directory for new
1211.Xr vi 1
1212.El
1213.Pp
1214.It Sy yp/
1215Databases and configuration for the NIS (YP) system; see
1216.Xr nis 8 .
1217.El
1218.El
1219.Sh SEE ALSO
1220.Xr apropos 1 ,
1221.Xr ls 1 ,
1222.Xr whatis 1 ,
1223.Xr whereis 1 ,
1224.Xr which 1 ,
1225.Xr paths 3
1226.Sh HISTORY
1227A
1228.Nm
1229manual page appeared in
1230.At v7 .
1231