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