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