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