xref: /netbsd-src/share/man/man7/hier.7 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.\"	$NetBSD: hier.7,v 1.130 2018/07/15 05:16:41 maxv 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 July 14, 2018
33.Dt HIER 7
34.Os
35.Sh NAME
36.Nm hier
37.Nd layout of file systems
38.Sh DESCRIPTION
39An outline of the file system 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.Bl -tag -width "/altroot/"
51.It Pa \&/
52Root directory of the system.
53.It Pa /COPYRIGHT
54System copyright notice, most often put on CD-ROM distributions.
55.It Pa "/[a-z]/"
56User file systems.
57.It Pa /altroot/
58Alternate root file system, in case of disaster.
59.\" .It Pa /amd/
60.\" Home directories mount point; see
61.\" .Xr amd 8 .
62.It Pa /bin/
63Utilities used in both single and multi-user environments.
64.It Pa /boot*
65Second-stage boot loader(s) for some platforms; see
66.Xr installboot 8 .
67.It Pa /cdrom/
68Empty directory commonly used by
69system administrators as a temporary mount point for ISO-9660 file
70systems on CD (or DVD) media.
71.It Pa /dev/
72Block, character, and other special device files.
73.Pp
74.Bl -tag -width "MAKEDEV" -compact
75.It Pa MAKEDEV
76Script for creating device files;
77see
78.Xr makedev 8 .
79.It Pa console
80The computer's console device.
81.It Pa drum
82The computer's swap space device; see
83.Xr drum 4 .
84.It Pa fd/
85File descriptor files;
86see
87.Xr fd 4 .
88.It Pa klog
89Kernel logging device; see
90.Xr syslog 3 .
91.It Pa kmem
92Kernel virtual memory device; see
93.Xr mem 4 .
94.It Pa log
95.Ux
96domain datagram log socket; see
97.Xr syslogd 8 .
98.It Pa mem
99Kernel physical memory device; see
100.Xr mem 4 .
101.It Pa null
102The null device; see
103.Xr null 4 .
104.It Pa pts/
105Mount point for the pseudo-terminal device file system; see
106.Xr mount_ptyfs 8 .
107.It Pa stderr
108.It Pa stdin
109.It Pa stdout
110File descriptor files;
111see
112.Xr fd 4 .
113.It Pa tty
114Device pointing to each process's own controlling terminal; see
115.Xr tty 4 .
116.It Pa zero
117The zero device; see
118.Xr zero 4 .
119.El
120.\" .It Pa /dump/
121.\" Online
122.\" .Xr dump 8
123.\" repository.
124.It Pa /etc/
125System configuration files and scripts.
126.Pp
127.Bl -tag -width "master.passwd" -compact
128.It Pa amd*
129Configuration files for
130.Xr amd 8 .
131.It Pa changelist
132Files backed up by the
133.Pa security
134script.
135.It Pa crontab
136Schedule used by the
137.Xr cron 8
138daemon.
139.It Pa csh.cshrc
140.It Pa csh.login
141.It Pa csh.logout
142System-wide scripts for
143.Xr csh 1 .
144.It Pa daily
145Script run each day by
146.Xr cron 8 .
147.It Pa daily.conf
148Configuration file for
149.Pa daily ;
150see
151.Xr daily.conf 5 .
152.It Pa defaults/
153Default configuration files read by various
154.Pa /etc/*.conf
155files.
156.It Pa disktab
157Disk description file; see
158.Xr disktab 5 .
159.It Pa dm.conf
160Dungeon master configuration; see
161.Xr dm.conf 5 .
162.It Pa dumpdates
163Dump history; see
164.Xr dump 8 .
165.It Pa exports
166File system export information; see
167.Xr mountd 8 .
168.It Pa fstab
169File system mounting table; see
170.Xr fstab 5
171and
172.Xr mount 8 .
173.It Pa ftpusers
174Users denied
175.Xr ftp 1
176access; see
177.Xr ftpd 8 .
178.It Pa ftpwelcome
179.Xr ftp 1
180initial message; see
181.Xr ftpd 8 .
182.It Pa gettytab
183Terminal configuration database; see
184.Xr gettytab 5 .
185.It Pa group
186Group permissions file; see
187.Xr group 5 .
188.It Pa hosts
189Host name database backup for
190.Xr named 8 ;
191see
192.Xr hosts 5 .
193.It Pa hosts.equiv
194Trusted machines with equivalent user IDs.
195(Obsolete.)
196.It Pa hosts.lpd
197Trusted machines with printing privileges.
198.It Pa inetd.conf
199Internet server configuration file; see
200.Xr inetd 8 .
201.It Pa kerberosV/
202Configuration files for Kerberos version V;
203see
204.Xr kerberos 8 .
205.It Pa localtime
206Local time zone;
207see
208.Xr ctime 3 .
209.It Pa login.conf
210Configuration of user classes and limits; see
211.Xr login.conf 5 .
212.It Pa mail/
213Configuration files for
214.Xr sendmail 1 .
215.Pp
216.Bl -tag -width "sendmail.*" -compact
217.It Pa aliases*
218Username alias files.
219.It Pa sendmail.*
220.Xr sendmail 1
221configuration information.
222.El
223.It Pa mail.rc
224System-wide initialization script for
225.Xr mail 1 .
226.It Pa man.conf
227Configuration file for
228.Xr man 1 ;
229see
230.Xr man.conf 5 .
231.It Pa master.passwd
232Main password file, readable only by root; see
233.Xr passwd 5 .
234.It Pa mk.conf
235Optional file containing
236.Xr make 1
237variables, used to configure pkgsrc and the system sources.
238.It Pa monthly
239Script run each month by
240.Xr cron 8 .
241.It Pa monthly.conf
242Configuration file for
243.Pa monthly ;
244see
245.Xr monthly.conf 5 .
246.It Pa motd
247System message of the day.
248.It Pa mtree/
249.Xr mtree 8
250configuration files.
251.It Pa named.*
252.It Pa namedb/
253.Xr named 8
254configuration files and databases.
255.It Pa netgroup
256Network groups; see
257.Xr netgroup 5 .
258.It Pa netstart
259Network startup script .
260.It Pa networks
261Network name database; see
262.Xr networks 5 .
263.It Pa passwd
264World readable password file generated from master.passwd; see
265.Xr passwd 5 ,
266.Xr pwd_mkdb 8 .
267.It Pa phones
268Remote host telephone number data base; see
269.Xr phones 5 .
270.It Pa printcap
271Printer configuration for
272.Xr lpr 1 ;
273see
274.Xr printcap 5 .
275.It Pa profile
276System-wide scripts for
277.Xr sh 1 .
278.It Pa protocols
279Protocol name database; see
280.Xr protocols 5 .
281.It Pa pwd.db
282Database form of passwd file; see
283.Xr pwd_mkdb 8 .
284.It Pa rc
285Master system startup script invoked by
286.Xr init 8 ;
287see
288.Xr rc 8 .
289.It Pa rc.conf
290Configuration file for system startup and shutdown scripts; see
291.Xr rc.conf 5 .
292.It Pa rc.d/
293Directory containing per-subsystem startup and shutdown scripts; see
294.Xr rc 8 .
295.It Pa rc.local
296Locally editable system startup script.
297.It Pa rc.shutdown
298Master system shutdown script invoked by
299.Xr shutdown 8 ;
300see
301.Xr rc 8 .
302.It Pa remote
303Remote host description file; see
304.Xr remote 5 .
305.It Pa security
306Daily (in)security script run by
307.Xr cron 8 .
308.It Pa security.conf
309Configuration file for
310.Pa security ;
311see
312.Xr security.conf 5 .
313.It Pa services
314Service name data base; see
315.Xr services 5 .
316.It Pa shells
317List of permitted shells; see
318.Xr shells 5 .
319.It Pa skel/
320Sample initialization files for new user accounts.
321.It Pa sliphome/
322SLIP login/logout scripts; see
323.Xr sliplogin 8 .
324.It Pa spwd.db
325Database form of master.passwd file; see
326.Xr pwd_mkdb 8 .
327.It Pa syslog.conf
328.Xr syslogd 8
329Configuration file; see
330.Xr syslog.conf 5 .
331.It Pa ttyaction
332Login hooks for specific ttys, typically used to chown console
333devices.
334See
335.Xr ttyaction 5 .
336.It Pa ttys
337Terminal initialization information; see
338.Xr ttys 5 .
339.It Pa weekly
340Script run each week by
341.Xr cron 8 .
342.It Pa weekly.conf
343Configuration file for
344.Pa weekly ;
345see
346.Xr weekly.conf 5 .
347.El
348.It Pa /home/
349Default location for user home directories.
350.It Pa /kern/
351Mount point for the kern file system; see
352.Xr mount_kernfs 8 .
353.It Pa /lib/
354Dynamic linked libraries used by dynamically linked programs
355that cannot rely upon
356.Pa /usr/lib/
357being available, such as those in
358.Pa /bin/
359and
360.Pa /sbin/ .
361.It Pa /libdata/
362Non-executable files
363.Pq such as device firmware
364required at boot time, when
365.Pa /usr/libdata
366may not be available.
367.It Pa /libexec/
368System utilities (such as the dynamic linker) required by programs
369and libraries that cannot rely upon
370.Pa /usr/libexec/
371being available.
372.It Pa /mnt/
373Empty directory commonly used by
374system administrators as a temporary mount point.
375.It Pa /net/
376automounted NFS shares;
377see
378.Xr auto_master 5
379.It Pa /netbsd
380Kernel executable image (the operating system loaded into memory
381at boot time).
382.It Pa /proc/
383Mount point for the process file system; see
384.Xr mount_procfs 8 .
385.It Pa /rescue/
386Statically linked rescue tools, for use in system recovery.
387.It Pa /root/
388Home directory for the super-user.
389.Pp
390.Bl -tag -width ".profile" -compact
391.It Pa \&.cshrc
392Super-user start-up file for
393.Xr csh 1 .
394.It Pa \&.login
395super-user start-up file for
396.Xr csh 1 .
397.It Pa \&.profile
398super-user start-up file for
399.Xr sh 1 .
400.It Pa \&.rhosts
401Super-user id mapping between machines.
402(Obsolete.)
403.El
404.It Pa /sbin/
405System programs and administration utilities
406used in both single-user and multi-user environments.
407.It Pa /stand/
408Programs used in a standalone environment, that is, things that run on
409bare hardware without a kernel.
410Currently kernel modules are also placed here, although this remains
411somewhat controversial and they may yet get moved.
412.It Pa /tmp/
413Temporary files.
414The contents of
415.Pa /tmp
416are usually
417.Em not
418preserved across a system reboot.
419.It Pa /usr/
420Contains the majority of the system utilities and files.
421.Pp
422.Bl -tag -width "libdata/" -compact
423.It Pa X11R7/
424X11 files (for X11 revision 7).
425.Pp
426.Bl -tag -width "include/" -compact
427.It Pa bin/
428X11 binaries.
429.It Pa include/
430X11 include files.
431.It Pa lib/
432X11 libraries.
433.El
434.Pp
435.It Pa bin/
436Common utilities, programming tools, and applications.
437.It Pa games/
438The important stuff.
439.It Pa include/
440Standard C (and extension) include files.
441.Pp
442.Bl -tag -width "protocols/" -compact
443.It Pa arpa/
444Include files for Internet service protocols.
445.It Pa atf/
446Include files for the Automated Testing Framework; see
447.Xr atf 7 .
448.It Pa g++/
449Include files for the GNU C++ compiler.
450.It Pa machine/
451Machine specific include files.
452.It Pa net/
453Miscellaneous network include files.
454.It Pa netatalk/
455C include files for AppleTalk protocols
456see
457.Xr atalk 4 .
458.It Pa netinet/
459Include files for Internet standard protocols; see
460.Xr inet 4 .
461.It Pa netinet6/
462Include files for Internet protocol version 6; see
463.Xr inet6 4 .
464.It Pa netkey/
465Include files for secret key management, used for security protocols; see
466.Xr ipsec 4 .
467.It Pa netnatm/
468C include files for native mode ATM.
469.It Pa nfs/
470C include files for NFS (Network File System).
471.It Pa protocols/
472C include files for Berkeley service protocols.
473.It Pa sys/
474``System-level'' C include files.
475.It Pa ufs/
476C include files for several mutually related file systems.
477(The `u' was originally for
478.Ux . )
479.El
480.Pp
481.It Pa lib/
482Archive, profiled, position independent archive, and shared libraries.
483.Pp
484.Bl -tag -width "lua/" -compact
485.It Pa lua/
486.Bl -tag -width "5.3/" -compact
487.It Pa 5.3/
488Lua 5.3 modules.
489.El
490.El
491.Pp
492.It Pa libdata/
493Miscellaneous utility data files.
494.It Pa libexec/
495System daemons & system utilities (executed by other programs).
496.Pp
497.It Pa mdec/
498Boot blocks, etc.
499.It Pa obj/
500Architecture-specific target tree produced by building the
501.Pa /usr/src
502tree; often a symbolic link or mounted file system.
503.It Pa pkg/
504Installed third-party software packages.
505.Pp
506.Bl -tag -width "include/" -compact
507.It Pa bin/
508Package binaries.
509.It Pa include/
510Package include files.
511.It Pa lib/
512Package libraries.
513.It Pa libdata/
514Package data files.
515.It Pa libexec/
516Package daemons.
517.It Pa sbin/
518Package system utilities.
519.El
520.Pp
521.It Pa pkgsrc/
522Build descriptions (packaging) for the
523.Nx
524package system.
525.Pp
526.Bl -tag -width "distfilesX" -compact
527.It Pa distfiles/
528Downloaded upstream source archives.
529.It Pa packages/
530Compiled binary packages.
531.El
532.Pp
533There are also several other subdirectories which contain packages of
534a certain category, e.g., archivers, graphics, ...
535.Pp
536.It Pa sbin/
537System daemons and system utilities (normally executed by the super-user).
538.It Pa share/
539Architecture-independent files, mostly text.
540.Pp
541.Bl -tag -width "calendar/" -compact
542.It Pa calendar/
543A variety of calendar files; see
544.Xr calendar 1 .
545.It Pa dict/
546Word lists;
547see
548.Xr look 1
549and
550.Xr spell 1 .
551.Pp
552.Bl -tag -width "special/" -compact
553.It Pa words
554Common words.
555.It Pa web2
556Words from Webster's Second International Dictionary.
557.It Pa papers/
558Reference databases;
559see
560.Xr refer 1 .
561.It Pa special/
562Custom word lists;
563see
564.Xr spell 1 .
565.El
566.Pp
567.It Pa doc/
568Miscellaneous documentation.
569.It Pa games/
570Data files used by various games.
571.It Pa i18n/
572internationalization databases; see
573.Xr iconv 3 .
574.It Pa locale/
575Locale databases and gettext message catalogs; see
576.Xr setlocale 3
577and
578.Xr gettext 3 .
579.It Pa man/
580Manual pages.
581.It Pa me/
582Macros for use with the
583.Xr me 7
584roff macro package.
585.It Pa misc/
586Miscellaneous system-wide text files.
587.Pp
588.Bl -tag -width "terminfo.cdb" -compact
589.It Pa terminfo
590Terminal characteristics database;
591see
592.Xr terminfo 5 .
593.It Pa terminfo.cdb
594database form of terminfo file; see
595.Xr tic 1 .
596.El
597.Pp
598.It Pa mk/
599Include files for
600.Xr make 1 .
601.It Pa ms/
602Macros for use with the
603.Xr ms 7
604roff macro package.
605.It Pa nls/
606Message catalogs; see
607.Xr catgets 3 .
608.It Pa tmac/
609Text processing macros;
610see
611.Xr nroff 1
612and
613.Xr troff 1 .
614.It Pa zoneinfo/
615Time zone database;
616see
617.Xr tzfile 5 .
618.El
619.It Pa tests/
620Test programs; see
621.Xr tests 7
622for information on how to run them.
623.El
624.It Pa /usr/src/
625.Nx
626and local source files.
627.Pp
628.Bl -tag -width "domestic/" -compact
629.It Pa bin/
630Source for utilities/files in
631.Pa /bin .
632.It Pa common/
633Sources shared between kernel and userland.
634.It Pa crypto/
635Cryptographic source, which may have import or export restrictions.
636.It Pa dist/
637Third-party
638.Sq virgin
639source code, referenced by other parts of the source tree.
640(Deprecated; use
641.Pa external/
642instead.)
643.It Pa distrib/
644Tools and data files for making
645.Nx
646releases and distributions.
647.It Pa doc/
648Documentation about the source tree (i.e., about the tree, not about
649how to use the software in the tree.)
650.It Pa etc/
651Source (usually example files) for files in
652.Pa /etc .
653.It Pa external/
654Source for programs from external third parties
655(where
656.Nx
657is the not the primary maintainer),
658grouped by license, and then products per license.
659.Pp
660.Bl -tag -width "intel-fw-public/" -compact
661.It Pa apache2/
662Apache 2.0 license.
663.It Pa bsd/
664BSD (or equivalent) licensed software,
665possibly with the
666.Dq advertising clause .
667.It Pa cddl/
668Common Development and Distribution License (the Sun license which is
669based on the Mozilla Public License version 1.1).
670.It Pa gpl2/
671GNU Public License, version 2 (or earlier).
672.It Pa gpl3/
673GNU Public License, version 3.
674.It Pa historical/
675Lucent's old license.
676.It Pa ibm-public/
677IBM's public license.
678.It Pa intel-fw-eula/
679Intel firmware license with redistribution restricted to OEM.
680.It Pa intel-fw-public/
681Intel firmware license permitting redistribution with
682terms similar to BSD licensed software.
683.It Pa intel-public/
684Intel license permitting redistribution with terms similar to
685BSD licensed software.
686.It Pa mit/
687MIT (X11) style license.
688.It Pa zlib/
689BSD-like zlib license.
690.El
691.Pp
692.It Pa games/
693Source for utilities/files in
694.Pa /usr/games .
695.It Pa gnu/
696Source for programs covered by the GNU license (or similar)
697(deprecated; use
698.Pa external/gpl2/
699or
700.Pa external/gpl3/
701as appropriate).
702.It Pa include/
703Source for files in
704.Pa /usr/include .
705.It Pa lib/
706Source for libraries in
707.Pa /usr/lib .
708.It Pa libexec/
709Source for utilities/files in
710.Pa /usr/libexec .
711.It Pa regress/
712Various legacy regression tests.
713.It Pa rescue/
714Source/makefiles for
715.Pa /rescue .
716.It Pa sbin/
717Source for utilities/files in
718.Pa /sbin .
719.It Pa share/
720Source for files in
721.Pa /usr/share .
722.Pp
723.Bl -tag -width "doc/" -compact
724.It Pa doc/
725.Pp
726.Bl -tag -width "papers/" -compact
727.It Pa papers/
728Source for various historical technical papers (many from Berkeley).
729.It Pa psd/
730Source for Programmer's Supplementary Documents.
731.It Pa smm/
732Source for System Manager's Manual.
733.It Pa usd/
734Source for User's Supplementary Documents.
735.El
736.El
737.It Pa sys/
738Kernel source files.
739.Pp
740.Bl -tag -width "gdbscripts/" -compact
741.It Pa arch/
742Architecture-specific support.
743.Pp
744.Bl -tag -width "playstation2/" -compact
745.It Pa acorn32/
746Acorn RiscPC/A7000 and VLSI RC7500.
747.It Pa algor/
748Algorithmics Ltd. MIPS evaluations boards.
749.It Pa alpha/
750Digital/Compaq Alpha.
751.It Pa amd64/
752Computers with x86_64 capable CPUs.
753.It Pa amiga/
754Commodore Amiga and MacroSystem DraCo.
755.It Pa amigappc/
756PowerPC based Amiga boards.
757.It Pa arc/
758MIPS-based machines following the Advanced RISC Computing spec.
759.It Pa arm/
760ARM processor general support.
761.It Pa atari/
762Atari TT030, Falcon and Hades.
763.It Pa bebox/
764Be Inc. BeBox.
765.It Pa cats/
766Chalice Technology's CATS and Intel's EBSA-285 evaluation boards.
767.It Pa cesfic/
768CES FIC8234 VME processor board.
769.It Pa cobalt/
770Cobalt Networks' MIPS-based Microserver.
771.It Pa dreamcast/
772Sega Dreamcast game console.
773.It Pa emips/
774Machines based on Extensible MIPS.
775.It Pa evbarm/
776ARM based evaluation boards.
777.It Pa evbmips/
778MIPS based evaluation boards.
779.It Pa evbppc/
780PowerPC based evaluation boards and appliances.
781.It Pa evbsh3/
782SH3/SH4 based evaluation boards.
783.It Pa ews4800mips/
784NEC's MIPS based EWS4800 workstations.
785.It Pa hp300/
786Hewlett-Packard 9000/300 and 400 680x0-based workstations.
787.It Pa hppa/
788Hewlett-Packard 9000/700 and 9000/800 HPPA based workstations.
789.It Pa hpcarm/
790StrongARM based WinCE PDA machines.
791.It Pa hpcmips/
792MIPS based WinCE PDA machines.
793.It Pa hpcsh/
794Hitachi SH3/4 based WinCE PDA machines.
795.It Pa hppa/
796HPPA processor general support.
797.It Pa i386/
79832-bit 80x86-based IBM PCs and clones.
799.It Pa ibmnws/
800IBM Network Station 1000.
801.It Pa iyonix/
802Castle Technology's Iyonix ARM based PCs.
803.It Pa luna68k/
804Omron Tateishi Electric's 680x0-based LUNA workstations.
805.It Pa m68k/
806680x0 processor general support.
807.It Pa mac68k/
808Apple Macintosh with 68k CPU.
809.It Pa macppc/
810Apple Power Macintosh and clones.
811.It Pa mips/
812MIPS processor general support.
813.It Pa mipsco/
814MIPS Computer Systems Inc. family of workstations and servers.
815.It Pa mmeye/
816Brains Inc. SH3 based mmEye multimedia server.
817.It Pa mvme68k/
818Motorola MVME 680x0-based SBCs.
819.It Pa mvmeppc/
820Motorola PowerPC VME SBCs.
821.It Pa netwinder/
822StrongARM based NetWinder machines.
823.It Pa news68k/
824Sony's 680x0-based NEWS workstations.
825.It Pa newsmips/
826Sony's MIPS-based NEWS workstations.
827.It Pa next68k/
828NeXT 68k "black" hardware.
829.It Pa ofppc/
830Open Firmware PowerPC workstations.
831.It Pa playstation2/
832SONY PlayStation 2.
833.It Pa pmax/
834Digital MIPS-based DECstations and DECsystems.
835.It Pa powerpc/
836PowerPC processor general support.
837.It Pa prep/
838PReP (PowerPC Reference Platform) and CHRP (Common Hardware Reference
839Platform) machines.
840.It Pa sandpoint/
841Motorola Sandpoint reference platform.
842.It Pa sbmips/
843Broadcom/SiByte evaluation boards.
844.It Pa sgimips/
845Silicon Graphics' MIPS-based workstations.
846.It Pa sh3/
847SH3/SH4 processor general support.
848.It Pa shark/
849Digital DNARD ("Shark").
850.It Pa sparc/
851Sun Microsystems SPARC (32-bit) and UltraSPARC (in 32-bit mode).
852.It Pa sparc64/
853Sun Microsystems UltraSPARC (in native 64-bit mode).
854.It Pa sun2/
855Sun Microsystems 68010-based Sun 2 architecture.
856.It Pa sun3/
857Sun Microsystems 68020/68030-based Sun 3/3x architecture.
858.It Pa sun68k/
859680x0-based Sun architecture general support.
860.It Pa vax/
861Digital VAX.
862.It Pa x68k/
863Sharp X680x0 680x0-based workstations.
864.It Pa x86/
865General support for PC/AT compatibles with ia32 or x86_64 CPUs.
866.It Pa xen/
867The Xen virtual machine monitor.
868.It Pa zaurus/
869Sharp C3x00 Arm based PDA.
870.El
871.Pp
872.It Pa compat/
873Kernel compatibility modules directory.
874.Pp
875.Bl -tag -width "ossaudio/" -compact
876.It Pa common/
877Common compatibility routines, old
878.Bx 4
879and
880.Nx
881routines.
882.It Pa freebsd/
883Support for
884.Fx
885binaries; see
886.Xr compat_freebsd 8 .
887.It Pa hpux/
888Support for 68000 HP-UX binaries.
889.It Pa ibcs2/
890Support for Intel Binary binaries.
891.It Pa linux/
892Support for Linux binaries; see
893.Xr compat_linux 8 .
894.It Pa m68k4k/
895Support for 4KB page 68000 binaries.
896.It Pa netbsd32/
897Support for
898.Nx
89932-bit binaries on 64 bit platforms with compatible CPU families.
900.It Pa osf1/
901Support for Digital
902.Ux
903(formerly OSF/1) binaries.
904.It Pa ossaudio/
905Support for OSS audio.
906.It Pa sunos/
907Support for SunOS 4.x binaries; see
908.Xr compat_sunos 8 .
909.It Pa svr4/
910Support for System V Release 4 binaries; see
911.Xr compat_svr4 8 .
912.It Pa ultrix/
913Support for ULTRIX binaries.
914.It Pa vax1k/
915Support for older VAX binaries that started on a 1 KB boundary.
916.El
917.Pp
918.It Pa conf/
919Architecture independent configuration directory.
920.It Pa crypto/
921Cryptographic kernel source, which may have import or export restrictions.
922.It Pa ddb/
923In-kernel debugger.
924.It Pa dev/
925Architecture independent device support.
926.It Pa fs/
927File systems.
928See also
929.Pa ufs/
930and
931.Pa miscfs/ .
932.Bl -tag -width "filecorefs/" -compact
933.It Pa adosfs/
934AmigaDOS file-system support; see
935.Xr mount_ados 8 .
936.It Pa cd9660/
937Support for the ISO-9660 file system; see
938.Xr mount_cd9660 8 .
939.It Pa filecorefs/
940Support for the Acorn RISC OS filecore file system; see
941.Xr mount_filecore 8 .
942.It Pa msdosfs/
943MS-DOS file system; see
944.Xr mount_msdos 8 .
945.It Pa ntfs/
946NTFS file system support; see
947.Xr mount_ntfs 8 .
948.It Pa ptyfs/
949Pseudo-terminal device file system; see
950.Xr mount_ptyfs 8 .
951.It Pa smbfs/
952SMB/CIFS file system support; see
953.Xr mount_smbfs 8 .
954.It Pa union/
955Union file system; see
956.Xr mount_union 8 .
957.El
958.It Pa gdbscripts/
959Support for accessing kernel structures from within the debugger
960.Xr gdb 1 .
961.Pp
962.It Pa kern/
963Primary kernel source code.
964.It Pa lib/
965Libraries supporting the kernel.
966.Pp
967.Bl -tag -width "libkern/" -compact
968.It Pa libkern/
969C library routines used in the kernel.
970.It Pa libsa/
971Machine-independent standalone library, used by boot loaders.
972.It Pa libz/
973Compression library.
974.El
975.Pp
976.It Pa miscfs/
977More file systems.
978.Pp
979.Bl -tag -width "deadfs/" -compact
980.It Pa deadfs/
981Kernel only dead file system.
982.It Pa fdesc/
983File descriptor file system; see
984.Xr mount_fdesc 8 .
985.It Pa fifofs/
986POSIX FIFO (named pipe) support.
987.It Pa genfs/
988Generic file system code that supports other file systems.
989.It Pa kernfs/
990Kernel namespace file system; see
991.Xr mount_kernfs 8 .
992.It Pa nullfs/
993Loop back file system; see
994.Xr mount_null 8 .
995.It Pa overlay/
996Overlay file system; see
997.Xr mount_overlay 8 .
998.It Pa procfs/
999Process file system; see
1000.Xr mount_procfs 8 .
1001.It Pa specfs/
1002Support for block and character special files.
1003.It Pa syncfs/
1004Kernel trickle sync algorithm.
1005.It Pa umapfs/
1006User and group re-mapping file system; see
1007.Xr mount_umap 8 .
1008.El
1009.Pp
1010.It Pa net/
1011Miscellaneous networking support.
1012.It Pa netatalk/
1013AppleTalk networking support.
1014.It Pa netinet/
1015IP networking support.
1016.It Pa netinet6/
1017IPv6 networking support.
1018.It Pa netkey/
1019Key database for IPsec networking support.
1020.It Pa netnatm/
1021ATM networking support.
1022.It Pa nfs/
1023NFS (network file system) support, both client and server.
1024.It Pa stand/
1025Kernel standalone support.
1026.It Pa sys/
1027Kernel (and system) include files.
1028.It Pa ufs/
1029Still more file systems.
1030.Pp
1031.Bl -tag -width "ffs/" -compact
1032.It Pa chfs/
1033A FFS-based file system for use on raw flash.
1034.It Pa ext2fs/
1035The Linux ext2 file system.
1036.It Pa ffs/
1037The Berkeley Fast File System.
1038.It Pa lfs/
1039The Berkeley log-structured file system.
1040.It Pa mfs/
1041The in-memory file system.
1042.It Pa ufs/
1043Shared
1044.Ux
1045file system support.
1046.El
1047.It Pa uvm/
1048UVM virtual memory system.
1049.El
1050.It Pa tests/
1051Source for test programs in
1052.Pa /usr/tests .
1053.It Pa usr.bin/
1054Source for utilities/files in
1055.Pa /usr/bin .
1056.It Pa usr.sbin/
1057Source for utilities/files in
1058.Pa /usr/sbin .
1059.El
1060.It Pa /var/
1061Multi-purpose log, temporary, transient, and spool files.
1062.Pp
1063.Bl -tag -width "preserve/" -compact
1064.It Pa account/
1065System accounting files.
1066.Pp
1067.Bl -tag -width "acct" -compact
1068.It Pa acct
1069Execution accounting file;
1070see
1071.Xr acct 5 .
1072.El
1073.Pp
1074.It Pa at/
1075Timed command scheduling files;
1076see
1077.Xr at 1 .
1078.It Pa backups/
1079Miscellaneous backup files, largely of files found in
1080.Pa /etc .
1081.It Pa chroot/
1082Home directories of applications which are run in a
1083.Xr chroot 8
1084.Dq cage .
1085.It Pa crash/
1086System (kernel) crash dumps; see
1087.Xr savecore 8 .
1088.It Pa cron/
1089Scheduled commands configuration files; see
1090.Xr cron 8
1091and
1092.Xr crontab 5 .
1093.It Pa db/
1094Miscellaneous automatically generated system-specific database files,
1095and persistent files used in the maintenance of third party software.
1096.Pp
1097.Bl -tag -width "monthly.out" -compact
1098.It Pa pkg
1099Default location for metadata related to third party software
1100packages.
1101See
1102.Xr pkg_add 1
1103for more details of the
1104.Nx
1105Packages Collection, or pkgsrc.
1106.El
1107.Pp
1108.It Pa games/
1109Miscellaneous game status, log, and high score files.
1110.It Pa heimdal/
1111Kerberos 5 KDC database; see
1112.Xr kdc 8 .
1113.It Pa log/
1114Miscellaneous system log files.
1115.Pp
1116.Bl -tag -width "monthly.out" -compact
1117.It Pa amd.*
1118.Xr amd 8
1119logs.
1120.It Pa daily.out
1121Output of the last run of the
1122.Pa /etc/daily
1123script.
1124.It Pa ftp.*
1125.Xr ftp 1
1126logs.
1127.It Pa kerberos.*
1128.Xr kerberos 8
1129logs.
1130.It Pa lastlog
1131System last-time-logged-in database; see
1132.Xr utmp 5 .
1133.It Pa lpd-errs.*
1134Printer daemon error logs; see
1135.Xr lpd 8 .
1136.It Pa maillog.*
1137.Xr sendmail 1
1138and
1139.Xr postfix 1
1140(and other mail-related)
1141log files.
1142.It Pa messages.*
1143General system information log.
1144.It Pa monthly.out
1145Output of the last run of the
1146.Pa /etc/monthly
1147script.
1148.It Pa secure
1149Sensitive security information log.
1150.It Pa sendmail.st
1151.Xr sendmail 1
1152statistics.
1153.It Pa timed.*
1154.Xr timed 8
1155logs.
1156.It Pa weekly.out
1157Output of the last run of the
1158.Pa /etc/weekly
1159script.
1160.It Pa wtmp
1161Login and logout log;
1162see
1163.Xr utmp 5 .
1164.It Pa wtmpx
1165Another login and logout log; see
1166.Xr utmpx 5 .
1167.El
1168.Pp
1169.It Pa mail/
1170User e-mail inboxes.
1171.It Pa msgs/
1172System messages; see
1173.Xr msgs 1 .
1174.\" since we use nvi (now called vi) this isn't the place any more, is it?
1175.It Pa preserve/
1176Temporary home of files preserved after an accidental death of
1177.Xr ex 1
1178or
1179.Xr vi 1 .
1180.It Pa quotas/
1181File system quota information.
1182(Legacy.)
1183.It Pa run/
1184System information files, rebuilt after each reboot.
1185.Pp
1186.Bl -tag -width "utmp" -compact
1187.It Pa dmesg.boot
1188A dump from
1189.Xr dmesg 8
1190taken at boot time.
1191.It Pa utmp
1192Database of currently logged in users; see
1193.Xr utmp 5 .
1194.It Pa utmpx
1195Another database of currently logged in users; see
1196.Xr utmpx 5 .
1197.El
1198.Pp
1199.It Pa rwho/
1200Rwho data files; see
1201.Xr rwhod 8 ,
1202.Xr rwho 1 ,
1203and
1204.Xr ruptime 1 .
1205.It Pa spool/
1206Miscellaneous printer and mail system spooling directories.
1207.Pp
1208.Bl -tag -width "postfix/" -compact
1209.It Pa ftp/
1210Commonly
1211.Dq ~ftp ,
1212the anonymous ftp root directory; see
1213.Xr ftpd 8 .
1214.It Pa mqueue/
1215Sendmail mail queue;
1216see
1217.Xr sendmail 1 .
1218.It Pa news/
1219Network news archival and spooling directories.
1220.It Pa output/
1221Printer spooling directories.
1222.It Pa postfix/
1223Postfix mail queue;
1224see
1225.Xr postfix 1 .
1226.El
1227.Pp
1228.It Pa tmp/
1229Temporary files that are not discarded between system reboots.
1230.Pp
1231.Bl -tag -width "vi.recover/" -compact
1232.It Pa vi.recover/
1233Recovery directory for new (current)
1234.Xr vi 1 .
1235.El
1236.Pp
1237.It Pa yp/
1238Databases and configuration for the NIS (YP) system; see
1239.Xr nis 8 .
1240.El
1241.El
1242.Sh SEE ALSO
1243.Xr apropos 1 ,
1244.Xr ls 1 ,
1245.Xr whatis 1 ,
1246.Xr whereis 1 ,
1247.Xr which 1 ,
1248.Xr paths 3
1249.Sh HISTORY
1250A
1251.Nm
1252manual page appeared in
1253.At v7 .
1254