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