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