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