xref: /netbsd-src/share/man/man7/hier.7 (revision 001c68bd94f75ce9270b69227c4199fbf34ee396)
1.\"	$NetBSD: hier.7,v 1.57 2003/04/01 16:45:25 perry 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. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by the University of
17.\"	California, Berkeley and its contributors.
18.\" 4. Neither the name of the University nor the names of its contributors
19.\"    may be used to endorse or promote products derived from this software
20.\"    without specific prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\"	@(#)hier.7	8.5 (Berkeley) 6/1/94
35.\"
36.Dd April 1, 2003
37.Dt HIER 7
38.Os
39.Sh NAME
40.Nm hier
41.Nd layout of filesystems
42.Sh DESCRIPTION
43An outline of the filesystem hierarchy.
44.Pp
45Naming is very important.
46The
47.Ux
48System relies on filename conventions for much of its power as a system.
49The following file system layout describes generally where things are
50and what they are, with references to other man pages for more detailed
51documentation.
52.Pp
53Not all files will be in every system.
54.Pp
55.Bl -tag -width "/altroot/"
56.It Sy \&/
57root directory of the system
58.It Sy /COPYRIGHT
59system copyright notice, most often put on
60.Tn CD-ROM
61distributions.
62.It Sy "/[a-z]/"
63user filesystems
64.It Sy /altroot/
65alternate root filesystem, in case of disaster
66.It Sy /amd/
67home directories mount point; see
68.Xr amd 8
69.It Sy /bin/
70utilities used in both single and multi-user environments
71.It Sy /boot*
72second-stage boot loader(s) for some platforms; see
73.Xr installboot 8
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 stderr
108.It Sy stdin
109.It Sy stdout
110file descriptor files;
111see
112.Xr fd 4
113.It Sy tty
114process' controlling terminal device; see
115.Xr tty 4
116.It Sy zero
117the zero device; see
118.Xr zero 4
119.El
120.It Sy /dump/
121online
122.Xr dump 8
123repository
124.It Sy /etc/
125system configuration files and scripts
126.Pp
127.Bl -tag -width "master.passwd" -compact
128.It Sy amd*
129configuration files for
130.Xr amd 8
131.It Sy changelist
132files backed up by the security script
133.It Sy crontab
134schedule used by the
135.Xr cron 8
136daemon
137.It Sy csh.cshrc
138.It Sy csh.login
139.It Sy csh.logout
140system-wide scripts for
141.Xr csh 1
142.It Sy daily
143script run each day by
144.Xr cron 8
145.It Sy daily.conf
146configuration file for
147.Sy daily ;
148see
149.Xr daily.conf 5
150.It Sy defaults/
151default configuration files read by various
152.Pa /etc/*.conf
153files
154.It Sy disktab
155disk description file, see
156.Xr disktab 5
157.It Sy dm.conf
158dungeon master configuration; see
159.Xr dm.conf 5
160.It Sy dumpdates
161dump history; see
162.Xr dump 8
163.It Sy exports
164filesystem export information; see
165.Xr mountd 8
166.It Sy fstab
167filesystem information; see
168.Xr fstab 5
169and
170.Xr mount 8
171.It Sy ftpusers
172users denied
173.Xr ftp 1
174access; see
175.Xr ftpd 8
176.It Sy ftpwelcome
177.Xr ftp 1
178initial message; see
179.Xr ftpd 8
180.It Sy gettytab
181terminal configuration database; see
182.Xr gettytab 5
183.It Sy group
184group permissions file; see
185.Xr group 5
186.It Sy hosts
187host name database backup for
188.Xr named 8 ;
189see
190.Xr hosts 5
191.It Sy hosts.equiv
192trusted machines with equivalent user ID's
193.It Sy hosts.lpd
194trusted machines with printing privileges
195.It Sy inetd.conf
196Internet server configuration file; see
197.Xr inetd 8
198.It Sy kerberosIV/
199configuration files for the kerberos version IV;
200see
201.Xr kerberos 8
202.It Sy kerberosV/
203configuration files for the kerberos version V;
204see
205.Xr kerberos 8
206.It Sy localtime
207local timezone information;
208see
209.Xr ctime 3
210.It Sy mail/
211configuration files for
212.Xr sendmail 8
213.Pp
214.Bl -tag -width "sendmail.*" -compact
215.It Sy aliases*
216name alias files
217.It Sy sendmail.*
218.Xr sendmail 8
219configuration information
220.El
221.It Sy mail.rc
222system-wide initialization script for
223.Xr mail 1
224.It Sy man.conf
225configuration file for
226.Xr man 1 ;
227see
228.Xr man.conf 5
229.It Sy master.passwd
230Main password file, readable only by root; see
231.Xr passwd 5
232.It Sy mk.conf
233optional file containing
234.Xr make 1
235variables, read by pkgsrc and the system sources.
236.It Sy monthly
237script run each month by
238.Xr cron 8
239.It Sy monthly.conf
240configuration file for
241.Sy monthly ;
242see
243.Xr monthly.conf 5
244.It Sy motd
245system message of the day
246.It Sy mtree/
247mtree configuration files;
248see
249.Xr mtree 8
250.It Sy named.*
251.It Sy namedb/
252named configuration files and databases;
253see
254.Xr named 8
255.It Sy netgroup
256network groups; see
257.Xr netgroup 5
258.It Sy netstart
259network startup script
260.It Sy networks
261network name data base; see
262.Xr networks 5
263.It Sy passwd
264World readable password file generated from master.passwd; see
265.Xr passwd 5 ,
266.Xr pwd_mkdb 8
267.It Sy phones
268remote host phone number data base; see
269.Xr phones 5
270.It Sy printcap
271system printer configuration; see
272.Xr printcap 5
273.It Sy protocols
274protocol name database; see
275.Xr protocols 5
276.It Sy pwd.db
277database form of passwd file; see
278.Xr pwd_mkdb 8
279.It Sy rc
280master system startup script invoked by
281.Xr init 8 ;
282see
283.Xr rc 8
284.It Sy rc.conf
285configuration file for system startup and shutdown scripts; see
286.Xr rc.conf 5
287.It Sy rc.d/
288directory containing per-subsystem startup and shutdown scripts; see
289.Xr rc 8
290.It Sy rc.local
291locally editable system startup script
292.It Sy rc.shutdown
293master system shutdown script invoked by
294.Xr shutdown 8 ;
295see
296.Xr rc 8
297.It Sy remote
298remote host description file; see
299.Xr remote 5
300.It Sy security
301daily (in)security script run by
302.Xr cron 8
303.It Sy security.conf
304configuration file for
305.Sy security ;
306see
307.Xr security.conf 5
308.It Sy services
309service name data base; see
310.Xr services 5
311.It Sy shells
312list of permitted shells; see
313.Xr shells 5
314.It Sy sliphome/
315.Tn SLIP
316login/logout scripts; see
317.Xr sliplogin 8
318.It Sy spwd.db
319database form of master.passwd file; see
320.Xr pwd_mkdb 8
321.It Sy syslog.conf
322.Xr syslogd 8
323configuration file; see
324.Xr syslog.conf 5
325.It Sy termcap
326terminal type database; see
327.Xr termcap 3
328.It Sy ttys
329terminal initialization information; see
330.Xr ttys 5
331.It Sy uucp/
332UUCP configuration files; see
333.Xr uucp 1
334and
335.Xr uucico 8 .
336.It Sy weekly
337script run each week by
338.Xr cron 8
339.It Sy weekly.conf
340configuration file for
341.Sy weekly ;
342see
343.Xr weekly.conf 5
344.El
345.It Sy /home/
346mount point for the automounter; see
347.Xr amd 8
348.It Sy /lib/
349dynamic linked libraries used by dynamic linked programs
350(such as those in
351.Pa /bin/
352and
353.Pa /sbin/ )
354that cannot rely upon
355.Pa /usr/lib/
356being 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 /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.ne 1i
384.It Sy /sbin/
385system programs and administration utilities
386used in both single-user and multi-user environments
387.It Sy /stand/
388programs used in a standalone environment
389.It Sy /tmp/
390temporary files, usually a
391.Xr mfs 8
392memory-based filesystem (the contents of
393.Pa /tmp
394are usually
395.Em not
396preserved across a system reboot)
397.It Sy /usr/
398contains the majority of the system utilities and files
399.Pp
400.Bl -tag -width "libdata/" -compact
401.It Sy X11R6/
402X11 files
403.Pp
404.Bl -tag -width "include/" -compact
405.It Sy bin/
406X11 binaries
407.It Sy include/
408X11 include files
409.It Sy lib/
410X11 libraries
411.El
412.Pp
413.It Sy bin/
414common utilities, programming tools, and applications
415.It Sy games/
416the important stuff
417.It Sy include/
418standard C include files
419.Pp
420.Bl -tag -width "kerberosIV/" -compact
421.It Sy arpa/
422include files for Internet service protocols
423.It Sy g++/
424include files for the C++ compiler
425.It Sy kerberosIV/
426include files for kerberos authentication package;
427see
428.Xr kerberos 8
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 netccitt/
438CCITT networking include files
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 netiso/
446include files for ISO standard protocols; see
447.Xr iso 4
448.It Sy netkey/
449include files for secret key management, used for security protocols; see
450.Xr ipsec 4
451.It Sy netnatm/
452C include files for native mode ATM
453.It Sy netns/
454C include files for XNS standard protocols; see
455.Xr ns 4
456.It Sy nfs/
457C include files for NFS (Network File System)
458.It Sy protocols/
459C include files for Berkeley service protocols
460.It Sy sys/
461system C include files (kernel data structures)
462.It Sy ufs/
463C include files for UFS (The U-word File System)
464.El
465.Pp
466.It Sy lib/
467archive, profiled, position independent archive, and shared libraries
468.It Sy libdata/
469miscellaneous utility data files
470.It Sy libexec/
471system daemons \*[Am] system utilities (executed by other programs)
472.Pp
473.Bl -tag -width "uucp/" -compact
474.It Sy uucp/
475UUCP binaries and scripts (historically placed; to be moved)
476.El
477.Pp
478.It Sy lkm/
479loadable kernel modules
480.It Sy mdec/
481boot blocks, etc.
482.It Sy obj/
483architecture-specific target tree produced by building the
484.Pa /usr/src
485tree; normally a symbolic link or mounted filesystem
486.It Sy pkg/
487packages maintained by groups other than the
488.Nx
489Project.
490.Pp
491.Bl -tag -width "include/" -compact
492.It Sy bin/
493contributed binaries
494.It Sy include/
495contributed include files
496.It Sy lib/
497contributed libraries
498.It Sy libdata/
499contributed data files
500.It Sy libexec/
501contributed daemons
502.It Sy sbin/
503contributed system utilities
504.El
505.Pp
506.It Sy pkgsrc/
507build descriptions ("packages") for the
508.Nx
509packages system.
510.Pp
511.Bl -tag -width "distfiles" -compact
512.It Sy distfiles
513Where unchanged source archives are fetched to/stored
514.It Sy packages
515Where compiled binary packages are stored
516.El
517.Pp
518There are also several other subdirectories which contain packages of
519a certain category, e.g. archivers, graphics, ...
520.Pp
521.It Sy sbin/
522system daemons and system utilities (normally executed by the super-user)
523.It Sy share/
524architecture-independent text files
525.Pp
526.Bl -tag -width "calendar/" -compact
527.It Sy calendar/
528a variety of calendar files; see
529.Xr calendar 1
530.It Sy dict/
531word lists;
532see
533.Xr look 1
534and
535.Xr spell 1
536.Pp
537.Bl -tag -width "special/" -compact
538.It Sy words
539common words
540.It Sy web2
541words of Webster's 2nd International
542.It Sy papers/
543reference databases;
544see
545.Xr refer 1
546.It Sy special/
547custom word lists;
548see
549.Xr spell 1
550.El
551.Pp
552.It Sy doc/
553miscellaneous documentation; source for most of the printed
554.Bx 4.3
555manuals (available
556from the
557.Tn USENIX
558association)
559.It Sy games/
560text files used by various games
561.It Sy lkm/
562documentation on the loadable kernel modules interface
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 "termcap" -compact
573.It Sy termcap
574terminal characteristics database;
575see
576.Xr termcap 5
577.El
578.Pp
579.It Sy mk/
580include files for
581.Xr make 1
582.It Sy ms/
583macros for use with the
584.Xr ms 7
585macro package
586.It Sy skel/
587sample initialization files for new user accounts
588.It Sy tabset/
589tab description files for a variety of terminals, used in
590the termcap file;
591see
592.Xr termcap 5
593.It Sy tmac/
594text processing macros;
595see
596.Xr nroff 1
597and
598.Xr troff 1
599.It Sy zoneinfo/
600timezone configuration information;
601see
602.Xr tzfile 5
603.El
604.Pp
605.El
606.Pp
607.It Sy /usr/src/
608.Nx
609and local source files
610.Pp
611.Bl -tag -width "domestic/" -compact
612.It Sy bin/
613source for utilities/files in
614.Pa /bin
615.It Sy crypto/
616cryptographic source, which may have import or export restrictions
617.It Sy dist/
618third-party
619.Sq virgin
620source code, referenced by other parts of the source tree
621.It Sy distrib/
622tools and data-files for making distributions
623.It Sy doc/
624documentation about the source tree (i.e. about the tree, not about
625how to use the built software.)
626.It Sy etc/
627source (usually example files) for files in
628.Pa /etc
629.It Sy games/
630source for utilities/files in
631.Pa /usr/games
632.It Sy gnu/
633source for programs covered by the
634.Tn GNU
635license (or similar)
636.It Sy include/
637source for files in
638.Pa /usr/include
639.It Sy lib/
640source for libraries in
641.Pa /usr/lib
642.It Sy libexec/
643source for utilities/files in
644.Pa /usr/libexec
645.It Sy regress/
646various regression tests
647.It Sy rescue/
648source/makefiles for /rescue
649.It Sy sbin/
650source for utilities/files in
651.Pa /sbin
652.It Sy share/
653source for files in
654.Pa /usr/share
655.Pp
656.Bl -tag -width "doc/" -compact
657.It Sy doc/
658.Pp
659.Bl -tag -width "papers/" -compact
660.It Sy papers/
661source for various Berkeley technical papers
662.It Sy psd/
663source for Programmer's Supplementary Documents
664.It Sy smm/
665source for System Manager's Manual
666.It Sy usd/
667source for User's Supplementary Documents
668.Pp
669.El
670.El
671.It Sy sys/
672kernel source files
673.Pp
674.Bl -tag -width "gdbscripts/" -compact
675.It Sy arch/
676architecture-specific support
677.Pp
678.Bl -tag -width "playstation2/" -compact
679.It Sy acorn26/
680ARM2 and ARM3 based systems
681.It Sy acorn32/
682Acorn RiscPC/A7000/NC and compatibles
683.It Sy algor/
684Algorithmics MIPS evaluations board
685.It Sy alpha/
686Digital Equipment Corp. Alpha architecture
687.It Sy amiga/
688Amiga architecture
689.It Sy amigappc/
690PowerPC based Amiga architecture
691.It Sy arc/
692ARC specification compliant systems.
693.It Sy arm/
694ARM processor general support
695.It Sy atari/
696Atari architecture
697.It Sy bebox/
698Be Inc. BeBox architecture
699.It Sy cats/
700Chalice Technology StrongARM evaluation board
701.It Sy cesfic/
702CES FIC8234 VME processor board
703.It Sy cobalt/
704Cobalt Networks MIPS Microserver architecture
705.It Sy dreamcast/
706Sega Dreamcast game console
707.It Sy evbarm/
708ARM based evaluation boards
709.It Sy evbmips/
710MIPS based evaluation boards
711.It Sy evbppc/
712PowerPC based evaluation board
713.It Sy evbsh3/
714SH3 based evaluation boards
715.It Sy hp300/
716Hewlett-Packard 9000/300 680x0-based workstations
717.It Sy hparm/
718StrongARM based WinCE hand-held devices
719.It Sy hpcmips/
720MIPS based WinCE hand-held devices
721.It Sy hpcsh/
722Hitachi SH3/4 based WinCE hand-held devices
723.It Sy i386/
724Intel 386/486/Pentium/etc. workstations
725.It Sy luna68k/
726Omron LUNA 68000-based workstations
727.It Sy m68k/
728680x0 processor support
729.It Sy mac68k/
730Apple Computer 680x0-based workstations
731.It Sy macppc/
732Apple Computer PowerPC-based workstations
733.It Sy mips/
734MIPS processor support
735.It Sy mipsco/
736MIPS Computer Systems Inc. architecture
737.It Sy mmeye/
738Brains Inc. SH3 based mmEye multimedia server
739.It Sy mvme68k/
740VME 680x0-based cards
741.It Sy news68k/
742Sony NEWS 680x0-based workstations
743.It Sy newsmips/
744Sony NEWS MIPS-based workstations
745.It Sy next68k/
746NeXT 680x0-based workstations
747.It Sy ofppc/
748Open Firmware PowerPC workstations
749.It Sy pc532/
750pc532 architecture
751.It Sy playstation2/
752SONY PlayStation 2
753.It Sy pmax/
754MIPS-based DECstation architecture
755.It Sy pmppc/
756Artesyn's PM/PPC board
757.It Sy powerpc/
758PowerPC processor support
759.It Sy prep/
760PowerPC Reference Platform
761.It Sy sandpoint/
762Motorola Sandpoint reference platform
763.It Sy sbmips/
764Broadcom/SiByte MIPS architecture
765.It Sy sgimips/
766SGI MIPS architecture
767.It Sy sh3/
768SH3 processor general support
769.It Sy shark/
770StrongARM based Digital DNARD ("Shark") machines
771.It Sy sparc/
772Sun Microsystems SPARC architecture
773.It Sy sparc64/
774Sun Microsystems UltraSPARC architecture
775.It Sy sun2/
776Sun Microsystems 68010-based Sun 2 architecture
777.It Sy sun3/
778Sun Microsystems 68020/68030-based Sun 3/3x architecture
779.It Sy sun68k/
780680x0-based Sun architecture general support
781.It Sy vax/
782Digital Equipment Corp. VAX architecture
783.It Sy x68k/
784Sharp X680x0 680x0-based workstations
785.It Sy x86_64/
786AMD x86-64(tm) 64-bit CPU
787.El
788.Pp
789.It Sy compat/
790kernel compatibility modules directory
791.Pp
792.Bl -tag -width "ossaudio/" -compact
793.It Sy common/
794common compatibility routines, old
795.Bx 4
796and
797.Nx
798routines.
799.It Sy freebsd/
800support for
801.Fx
802binaries; see
803.Xr compat_freebsd 8
804.It Sy hpux/
805support for 68000 HP-UX binaries
806.It Sy ibcs2/
807support for Intel Binary binaries
808.It Sy linux/
809support for Linux binaries; see
810.Xr compat_linux 8
811.It Sy m68k4k/
812support for 4KB page 68000 binaries
813.It Sy netbsd32/
814support for
815.Nx
81632-bit binaries on 64 bit platforms with compatible CPU families
817.It Sy osf1/
818support for
819.Tn Digital
820.Ux
821.Po
822formerly
823.Tn OSF/1
824.Pc
825binaries
826.It Sy ossaudio/
827support for OSS audio
828.It Sy pecoff/
829support for
830.Tn Win32
831binaries; see
832.Xr compat_pecoff 8
833.It Sy sunos/
834support for
835.Tn SunOS 4.x
836binaries; see
837.Xr compat_sunos 8
838.It Sy svr4/
839support for System V Release 4 binaries; see
840.Xr compat_svr4 8
841.It Sy ultrix/
842support for
843.Tn ULTRIX
844binaries
845.It Sy vax1k/
846support for older VAX binaries that started on a 1 KB boundary
847.El
848.Pp
849.It Sy conf/
850architecture independent configuration directory
851.It Sy crypto/
852cryptographic kernel source, which may have import or export restrictions
853.It Sy ddb/
854in kernel debugger
855.It Sy dev/
856architecture independent device support
857.It Sy fs/
858miscellaneous file systems
859.Bl -tag -width "filecorefs/" -compact
860.It Sy adosfs/
861AmigaDOS file-system support; see
862.Xr mount_ados 8
863.It Sy cd9660/
864support for the ISO-9660 filesystem; see
865.Xr mount_cd9660 8
866.It Sy filecorefs/
867support for the Acorn RISC OS filecore filesystem; see
868.Xr mount_filecore 8
869.It Sy msdosfs/
870.Tn MS-DOS
871file system; see
872.Xr mount_msdos 8
873.It Sy ntfs/
874NTFS filesystem support; see
875.Xr mount_ntfs 8
876.It Sy smbfs
877SMB/CIFS filesystem support; see
878.Xr mount_smbfs 8
879.It Sy union/
880union file system; see
881.Xr mount_union 8
882.El
883.It Sy gdbscripts/
884support for accessing kernel structures from within the debugger
885.Xr gdb 1 .
886.It Sy ipkdb/
887support for kernel debugging over the network
888.Pp
889.It Sy kern/
890support for the high kernel (system calls)
891.It Sy lib/
892kernel libraries
893.Pp
894.Bl -tag -width "libkern/" -compact
895.It Sy libkern/
896C library routines used in the kernel
897.It Sy libsa/
898machine independent stand alone kernel library
899.It Sy libz/
900compression library
901.El
902.Pp
903.It Sy lkm/
904loadable kernel modules
905.Pp
906.Bl -tag -width "gdbscripts/" -compact
907.It Sy compat/
908LKM support compatibility modules;  currently unsupported.
909.It Sy netinet/
910LKM support networking modules
911.Pp
912.Bl -tag -width "if_ipl/" -compact
913.It Sy if_ipl/
914LKM for IP-Filter
915.El
916.Pp
917.It Sy vfs/
918LKM support for file systems.
919.El
920.Pp
921.It Sy miscfs/
922miscellaneous file systems
923.Pp
924.Bl -tag -width "deadfs/" -compact
925.It Sy deadfs/
926kernel only dead file system
927.It Sy fdesc/
928file descriptor file system; see
929.Xr mount_fdesc 8
930.It Sy fifofs/
931POSIX FIFO support
932.It Sy genfs/
933kernel only generic file system
934.It Sy kernfs/
935kernel namespace file system; see
936.Xr mount_kernfs 8
937.It Sy nullfs/
938loop back file system; see
939.Xr mount_null 8
940.It Sy overlay/
941overlay file system; see
942.Xr mount_overlay 8
943.It Sy portal/
944portal file system; see
945.Xr mount_portal 8
946.It Sy procfs/
947process file system; see
948.Xr mount_procfs 8
949.It Sy specfs/
950kernel only special file system
951.It Sy syncfs/
952kernel trickle sync algorithm
953.It Sy umapfs/
954user and group re-mapping file system; see
955.Xr mount_umap 8
956.El
957.Pp
958.It Sy net/
959miscellaneous networking support
960.It Sy netatalk/
961AppleTalk networking support
962.It Sy netccitt/
963CCITT networking support
964.It Sy netinet/
965IP networking support
966.It Sy netinet6/
967IPv6 networking support
968.It Sy netiso/
969ISO networking support
970.It Sy netkey/
971Key database for IPsec networking support
972.It Sy netnatm/
973ATM networking support
974.It Sy netns/
975XNS networking support
976.It Sy nfs/
977NFS support
978.It Sy stand/
979kernel standalone support
980.It Sy sys/
981kernel (and system) include files
982.It Sy ufs/
983local filesystem support
984.Pp
985.Bl -tag -width "ffs/" -compact
986.It Sy ffs/
987the Berkeley Fast File System
988.It Sy lfs/
989the log-structured file system
990.It Sy mfs/
991the in-memory file system
992.It Sy ufs/
993shared
994.Ux
995file system support
996.El
997.It Sy uvm/
998UVM virtual memory system
999.El
1000.It Sy usr.bin/
1001source for utilities/files in
1002.Pa /usr/bin
1003.It Sy usr.sbin/
1004source for utilities/files in
1005.Pa /usr/sbin
1006.El
1007.It Sy /var/
1008multi-purpose log, temporary, transient, and spool files
1009.Pp
1010.Bl -tag -width "preserve/" -compact
1011.It Sy account/
1012system accounting files
1013.Pp
1014.Bl -tag -width "acct" -compact
1015.It Sy acct
1016execution accounting file;
1017see
1018.Xr acct 5
1019.El
1020.Pp
1021.It Sy at/
1022timed command scheduling files;
1023see
1024.Xr at 1
1025.It Sy backups/
1026miscellaneous backup files, largely of files found in
1027.Pa /etc
1028.It Sy chroot/
1029home directories of applications which are run in a
1030.Xr chroot 8
1031.Dq cage .
1032.It Sy crash/
1033system crash dumps; see
1034.Xr savecore 8
1035.It Sy cron/
1036scheduled commands configuration files; see
1037.Xr cron 8
1038.It Sy db/
1039miscellaneous automatically generated system-specific database files
1040.It Sy games/
1041miscellaneous game status and log files
1042.It Sy heimdal/
1043Kerberos 5 KDC database; see
1044.Xr kdc 8
1045.It Sy log/
1046miscellaneous system log files
1047.Pp
1048.Bl -tag -width "monthly.out" -compact
1049.It Sy amd.*
1050.Xr amd 8
1051logs
1052.It Sy daily.out
1053output of the last run of the
1054.Pa /etc/daily
1055script
1056.It Sy ftp.*
1057.Xr ftp 1
1058logs
1059.It Sy kerberos.*
1060.Xr kerberos 8
1061logs
1062.It Sy lastlog
1063system last time logged in log; see
1064.Xr utmp 5
1065.It Sy lpd-errs.*
1066printer daemon error logs; see
1067.Xr lpd 8
1068.It Sy maillog.*
1069.Xr sendmail 8
1070log files
1071.It Sy messages.*
1072general system information log
1073.It Sy monthly.out
1074output of the last run of the
1075.Pa /etc/monthly
1076script
1077.It Sy secure
1078sensitive security information log
1079.It Sy sendmail.st
1080.Xr sendmail 8
1081statistics
1082.It Sy timed.*
1083.Xr timed 8
1084logs
1085.It Sy weekly.out
1086output of the last run of the
1087.Pa /etc/weekly
1088script
1089.It Sy wtmp
1090login/logout log;
1091see
1092.Xr utmp 5
1093.El
1094.Pp
1095.It Sy mail/
1096user system mailboxes
1097.It Sy msgs/
1098system messages; see
1099.Xr msgs 1
1100.\" since we use nvi (now called vi) this isn't the place any more, is it?
1101.It Sy pkg/
1102working files for third party packages
1103.It Sy preserve/
1104temporary home of files preserved after an accidental death of
1105.Xr ex 1
1106or
1107.Xr vi 1
1108.It Sy quotas/
1109filesystem quota information
1110.It Sy run/
1111system information files, rebuilt after each reboot
1112.Pp
1113.Bl -tag -width "utmp" -compact
1114.It Sy utmp
1115database of current users; see
1116.Xr utmp 5
1117.El
1118.Pp
1119.It Sy rwho/
1120rwho data files; see
1121.Xr rwhod 8 ,
1122.Xr rwho 1 ,
1123and
1124.Xr ruptime 1
1125.It Sy spool/
1126miscellaneous printer and mail system spooling directories
1127.Pp
1128.Bl -tag -width "uucppublic/" -compact
1129.It Sy ftp/
1130commonly
1131.Dq ~ftp ,
1132the anonymous ftp root directory; see
1133.Xr ftpd 8
1134.It Sy mqueue/
1135sendmail mail queue;
1136see
1137.Xr sendmail 8
1138.It Sy news/
1139Network news archival and spooling directories
1140.It Sy output/
1141printer spooling directories
1142.It Sy postfix/
1143postfix mail queue;
1144see
1145.Xr postfix 1
1146.It Sy uucp/
1147uucp spool directory
1148.It Sy uucppublic/
1149commonly
1150.Dq ~uucp ,
1151the uucp public temporary directory; see
1152.Xr uucp 1
1153.El
1154.Pp
1155.It Sy tmp/
1156temporary files that are not discarded between system reboots
1157.Pp
1158.Bl -tag -width "vi.recover/" -compact
1159.It Sy vi.recover/
1160recovery directory for new
1161.Xr vi 1
1162.El
1163.Pp
1164.It Sy yp/
1165Databases and configuration for the NIS (YP) system; see
1166.Xr nis 8 .
1167.El
1168.El
1169.Sh SEE ALSO
1170.Xr apropos 1 ,
1171.Xr ls 1 ,
1172.Xr whatis 1 ,
1173.Xr whereis 1 ,
1174.Xr which 1
1175.Sh HISTORY
1176A
1177.Nm
1178manual page appeared in
1179.At v7 .
1180