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