xref: /netbsd-src/share/man/man7/hier.7 (revision 23c8222edbfb0f0932d88a8351d3a0cf817dfb9e)
1.\"	$NetBSD: hier.7,v 1.65 2004/10/14 01:28:19 snj 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 3, 2004
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 /dev/
71block, character and other special device files
72.Pp
73.Bl -tag -width "MAKEDEV" -compact
74.It Sy MAKEDEV
75script for creating device files;
76see
77.Xr makedev 8
78.It Sy console
79the computer's console device
80.It Sy drum
81system swap space; see
82.Xr drum 4
83.It Sy fd/
84file descriptor files;
85see
86.Xr fd 4
87.It Sy klog
88kernel logging device; see
89.Xr syslog 3
90.It Sy kmem
91kernel virtual memory device; see
92.Xr mem 4
93.It Sy log
94.Ux
95domain datagram log socket; see
96.Xr syslogd 8
97.It Sy mem
98kernel physical memory device; see
99.Xr mem 4
100.It Sy null
101the null device; see
102.Xr null 4
103.It Sy stderr
104.It Sy stdin
105.It Sy stdout
106file descriptor files;
107see
108.Xr fd 4
109.It Sy tty
110process' controlling terminal device; see
111.Xr tty 4
112.It Sy zero
113the zero device; see
114.Xr zero 4
115.El
116.\" .It Sy /dump/
117.\" online
118.\" .Xr dump 8
119.\" repository
120.It Sy /etc/
121system configuration files and scripts
122.Pp
123.Bl -tag -width "master.passwd" -compact
124.It Sy amd*
125configuration files for
126.Xr amd 8
127.It Sy changelist
128files backed up by the security script
129.It Sy crontab
130schedule used by the
131.Xr cron 8
132daemon
133.It Sy csh.cshrc
134.It Sy csh.login
135.It Sy csh.logout
136system-wide scripts for
137.Xr csh 1
138.It Sy daily
139script run each day by
140.Xr cron 8
141.It Sy daily.conf
142configuration file for
143.Sy daily ;
144see
145.Xr daily.conf 5
146.It Sy defaults/
147default configuration files read by various
148.Pa /etc/*.conf
149files
150.It Sy disktab
151disk description file, see
152.Xr disktab 5
153.It Sy dm.conf
154dungeon master configuration; see
155.Xr dm.conf 5
156.It Sy dumpdates
157dump history; see
158.Xr dump 8
159.It Sy exports
160filesystem export information; see
161.Xr mountd 8
162.It Sy fstab
163filesystem information; see
164.Xr fstab 5
165and
166.Xr mount 8
167.It Sy ftpusers
168users denied
169.Xr ftp 1
170access; see
171.Xr ftpd 8
172.It Sy ftpwelcome
173.Xr ftp 1
174initial message; see
175.Xr ftpd 8
176.It Sy gettytab
177terminal configuration database; see
178.Xr gettytab 5
179.It Sy group
180group permissions file; see
181.Xr group 5
182.It Sy hosts
183host name database backup for
184.Xr named 8 ;
185see
186.Xr hosts 5
187.It Sy hosts.equiv
188trusted machines with equivalent user ID's
189.It Sy hosts.lpd
190trusted machines with printing privileges
191.It Sy inetd.conf
192Internet server configuration file; see
193.Xr inetd 8
194.It Sy kerberosIV/
195configuration files for the kerberos version IV;
196see
197.Xr kerberos 8
198.It Sy kerberosV/
199configuration files for the kerberos version V;
200see
201.Xr kerberos 8
202.It Sy localtime
203local timezone information;
204see
205.Xr ctime 3
206.It Sy mail/
207configuration files for
208.Xr sendmail 8
209.Pp
210.Bl -tag -width "sendmail.*" -compact
211.It Sy aliases*
212name alias files
213.It Sy sendmail.*
214.Xr sendmail 8
215configuration information
216.El
217.It Sy mail.rc
218system-wide initialization script for
219.Xr mail 1
220.It Sy man.conf
221configuration file for
222.Xr man 1 ;
223see
224.Xr man.conf 5
225.It Sy master.passwd
226Main password file, readable only by root; see
227.Xr passwd 5
228.It Sy mk.conf
229optional file containing
230.Xr make 1
231variables, read by pkgsrc and the system sources.
232.It Sy monthly
233script run each month by
234.Xr cron 8
235.It Sy monthly.conf
236configuration file for
237.Sy monthly ;
238see
239.Xr monthly.conf 5
240.It Sy motd
241system message of the day
242.It Sy mtree/
243mtree configuration files;
244see
245.Xr mtree 8
246.It Sy named.*
247.It Sy namedb/
248named configuration files and databases;
249see
250.Xr named 8
251.It Sy netgroup
252network groups; see
253.Xr netgroup 5
254.It Sy netstart
255network startup script
256.It Sy networks
257network name data base; see
258.Xr networks 5
259.It Sy passwd
260World readable password file generated from master.passwd; see
261.Xr passwd 5 ,
262.Xr pwd_mkdb 8
263.It Sy phones
264remote host phone number data base; see
265.Xr phones 5
266.It Sy printcap
267system printer configuration; see
268.Xr printcap 5
269.It Sy protocols
270protocol name database; see
271.Xr protocols 5
272.It Sy pwd.db
273database form of passwd file; see
274.Xr pwd_mkdb 8
275.It Sy rc
276master system startup script invoked by
277.Xr init 8 ;
278see
279.Xr rc 8
280.It Sy rc.conf
281configuration file for system startup and shutdown scripts; see
282.Xr rc.conf 5
283.It Sy rc.d/
284directory containing per-subsystem startup and shutdown scripts; see
285.Xr rc 8
286.It Sy rc.local
287locally editable system startup script
288.It Sy rc.shutdown
289master system shutdown script invoked by
290.Xr shutdown 8 ;
291see
292.Xr rc 8
293.It Sy remote
294remote host description file; see
295.Xr remote 5
296.It Sy security
297daily (in)security script run by
298.Xr cron 8
299.It Sy security.conf
300configuration file for
301.Sy security ;
302see
303.Xr security.conf 5
304.It Sy services
305service name data base; see
306.Xr services 5
307.It Sy shells
308list of permitted shells; see
309.Xr shells 5
310.It Sy sliphome/
311.Tn SLIP
312login/logout scripts; see
313.Xr sliplogin 8
314.It Sy spwd.db
315database form of master.passwd file; see
316.Xr pwd_mkdb 8
317.It Sy syslog.conf
318.Xr syslogd 8
319configuration file; see
320.Xr syslog.conf 5
321.It Sy termcap
322terminal type database; see
323.Xr termcap 3
324.It Sy ttys
325terminal initialization information; see
326.Xr ttys 5
327.It Sy uucp/
328UUCP configuration files; see
329.Xr uucp 1
330and
331.Xr uucico 8 .
332.It Sy weekly
333script run each week by
334.Xr cron 8
335.It Sy weekly.conf
336configuration file for
337.Sy weekly ;
338see
339.Xr weekly.conf 5
340.El
341.It Sy /home/
342mount point for the automounter; see
343.Xr amd 8
344.It Sy /lib/
345dynamic linked libraries used by dynamic linked programs
346(such as those in
347.Pa /bin/
348and
349.Pa /sbin/ )
350that cannot rely upon
351.Pa /usr/lib/
352being available.
353.It Sy /libexec/
354system utilities (such as the dynamic linker) required by programs
355and libraries that cannot rely upon
356.Pa /usr/libexec/
357being available.
358.It Sy /mnt/
359empty directory commonly used by
360system administrators as a temporary mount point
361.It Sy /netbsd
362pure kernel executable (the operating system loaded into memory
363at boot time).
364.It Sy /rescue/
365statically linked rescue tools, for use in system recovery
366.It Sy /root/
367home directory for the super-user
368.Pp
369.Bl -tag -width ".profile" -compact
370.It Sy \&.cshrc
371super-user start-up file
372.It Sy \&.login
373super-user start-up file
374.It Sy \&.profile
375super-user start-up file
376.It Sy \&.rhosts
377super-user id mapping between machines
378.El
379.ne 1i
380.It Sy /sbin/
381system programs and administration utilities
382used in both single-user and multi-user environments
383.It Sy /stand/
384programs used in a standalone environment
385.It Sy /tmp/
386temporary files, usually a
387.Xr mfs 8
388memory-based filesystem (the contents of
389.Pa /tmp
390are usually
391.Em not
392preserved across a system reboot)
393.It Sy /usr/
394contains the majority of the system utilities and files
395.Pp
396.Bl -tag -width "libdata/" -compact
397.It Sy X11R6/
398X11 files
399.Pp
400.Bl -tag -width "include/" -compact
401.It Sy bin/
402X11 binaries
403.It Sy include/
404X11 include files
405.It Sy lib/
406X11 libraries
407.El
408.Pp
409.It Sy bin/
410common utilities, programming tools, and applications
411.It Sy games/
412the important stuff
413.It Sy include/
414standard C include files
415.Pp
416.Bl -tag -width "kerberosIV/" -compact
417.It Sy arpa/
418include files for Internet service protocols
419.It Sy g++/
420include files for the C++ compiler
421.It Sy kerberosIV/
422include files for kerberos authentication package;
423see
424.Xr kerberos 8
425.It Sy machine/
426machine specific include files
427.It Sy net/
428.It Sy netatalk/
429C include files for AppleTalk protocols
430miscellaneous network include files;
431see
432.Xr atalk 4
433.It Sy netccitt/
434CCITT networking include files
435.It Sy netinet/
436include files for Internet standard protocols; see
437.Xr inet 4
438.It Sy netinet6/
439include files for Internet protocol version 6; see
440.Xr inet6 4
441.It Sy netiso/
442include files for ISO standard protocols; see
443.Xr iso 4
444.It Sy netkey/
445include files for secret key management, used for security protocols; see
446.Xr ipsec 4
447.It Sy netnatm/
448C include files for native mode ATM
449.It Sy netns/
450C include files for XNS standard protocols; see
451.Xr ns 4
452.It Sy nfs/
453C include files for NFS (Network File System)
454.It Sy protocols/
455C include files for Berkeley service protocols
456.It Sy sys/
457system C include files (kernel data structures)
458.It Sy ufs/
459C include files for UFS (The U-word File System)
460.El
461.Pp
462.It Sy lib/
463archive, profiled, position independent archive, and shared libraries
464.It Sy libdata/
465miscellaneous utility data files
466.It Sy libexec/
467system daemons \*[Am] system utilities (executed by other programs)
468.Pp
469.Bl -tag -width "uucp/" -compact
470.It Sy uucp/
471UUCP binaries and scripts (historically placed; to be moved)
472.El
473.Pp
474.It Sy lkm/
475loadable kernel modules
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 "distfiles" -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 lkm/
558documentation on the loadable kernel modules interface
559.It Sy man/
560formatted manual pages
561.It Sy me/
562macros for use with the
563.Xr me 7
564macro package
565.It Sy misc/
566miscellaneous system-wide text files
567.Pp
568.Bl -tag -width "termcap" -compact
569.It Sy termcap
570terminal characteristics database;
571see
572.Xr termcap 5
573.El
574.Pp
575.It Sy mk/
576include files for
577.Xr make 1
578.It Sy ms/
579macros for use with the
580.Xr ms 7
581macro package
582.It Sy skel/
583sample initialization files for new user accounts
584.It Sy tabset/
585tab description files for a variety of terminals, used in
586the termcap file;
587see
588.Xr termcap 5
589.It Sy tmac/
590text processing macros;
591see
592.Xr nroff 1
593and
594.Xr troff 1
595.It Sy zoneinfo/
596timezone configuration information;
597see
598.Xr tzfile 5
599.El
600.Pp
601.El
602.Pp
603.It Sy /usr/src/
604.Nx
605and local source files
606.Pp
607.Bl -tag -width "domestic/" -compact
608.It Sy bin/
609source for utilities/files in
610.Pa /bin
611.It Sy crypto/
612cryptographic source, which may have import or export restrictions
613.It Sy dist/
614third-party
615.Sq virgin
616source code, referenced by other parts of the source tree
617.It Sy distrib/
618tools and data-files for making distributions
619.It Sy doc/
620documentation about the source tree (i.e., about the tree, not about
621how to use the built software.)
622.It Sy etc/
623source (usually example files) for files in
624.Pa /etc
625.It Sy games/
626source for utilities/files in
627.Pa /usr/games
628.It Sy gnu/
629source for programs covered by the
630.Tn GNU
631license (or similar)
632.It Sy include/
633source for files in
634.Pa /usr/include
635.It Sy lib/
636source for libraries in
637.Pa /usr/lib
638.It Sy libexec/
639source for utilities/files in
640.Pa /usr/libexec
641.It Sy regress/
642various regression tests
643.It Sy rescue/
644source/makefiles for /rescue
645.It Sy sbin/
646source for utilities/files in
647.Pa /sbin
648.It Sy share/
649source for files in
650.Pa /usr/share
651.Pp
652.Bl -tag -width "doc/" -compact
653.It Sy doc/
654.Pp
655.Bl -tag -width "papers/" -compact
656.It Sy papers/
657source for various Berkeley technical papers
658.It Sy psd/
659source for Programmer's Supplementary Documents
660.It Sy smm/
661source for System Manager's Manual
662.It Sy usd/
663source for User's Supplementary Documents
664.Pp
665.El
666.El
667.It Sy sys/
668kernel source files
669.Pp
670.Bl -tag -width "gdbscripts/" -compact
671.It Sy arch/
672architecture-specific support
673.Pp
674.Bl -tag -width "playstation2/" -compact
675.It Sy acorn26/
676ARM2 and ARM3 based systems
677.It Sy acorn32/
678Acorn RiscPC/A7000/NC and compatibles
679.It Sy algor/
680Algorithmics MIPS evaluations board
681.It Sy alpha/
682Digital Equipment Corp. Alpha architecture
683.It Sy amd64/
684AMD64 based systems
685.It Sy amiga/
686Amiga architecture
687.It Sy amigappc/
688PowerPC based Amiga architecture
689.It Sy arc/
690ARC specification compliant systems.
691.It Sy arm/
692ARM processor general support
693.It Sy atari/
694Atari architecture
695.It Sy bebox/
696Be Inc. BeBox architecture
697.It Sy cats/
698Chalice Technology StrongARM evaluation board
699.It Sy cesfic/
700CES FIC8234 VME processor board
701.It Sy cobalt/
702Cobalt Networks MIPS Microserver architecture
703.It Sy dreamcast/
704Sega Dreamcast game console
705.It Sy evbarm/
706ARM based evaluation boards
707.It Sy evbmips/
708MIPS based evaluation boards
709.It Sy evbppc/
710PowerPC based evaluation board
711.It Sy evbsh3/
712SH3 based evaluation boards
713.It Sy hp300/
714Hewlett-Packard 9000/300 680x0-based workstations
715.It Sy hpcarm/
716StrongARM based WinCE hand-held devices
717.It Sy hpcmips/
718MIPS based WinCE hand-held devices
719.It Sy hpcsh/
720Hitachi SH3/4 based WinCE hand-held devices
721.It Sy i386/
722Intel 386/486/Pentium/etc. workstations
723.It Sy iyonix/
724Castle Technology Intel xscale based 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.El
786.Pp
787.It Sy compat/
788kernel compatibility modules directory
789.Pp
790.Bl -tag -width "ossaudio/" -compact
791.It Sy common/
792common compatibility routines, old
793.Bx 4
794and
795.Nx
796routines.
797.It Sy freebsd/
798support for
799.Fx
800binaries; see
801.Xr compat_freebsd 8
802.It Sy hpux/
803support for 68000 HP-UX binaries
804.It Sy ibcs2/
805support for Intel Binary binaries
806.It Sy linux/
807support for Linux binaries; see
808.Xr compat_linux 8
809.It Sy m68k4k/
810support for 4KB page 68000 binaries
811.It Sy netbsd32/
812support for
813.Nx
81432-bit binaries on 64 bit platforms with compatible CPU families
815.It Sy osf1/
816support for
817.Tn Digital
818.Ux
819.Po
820formerly
821.Tn OSF/1
822.Pc
823binaries
824.It Sy ossaudio/
825support for OSS audio
826.It Sy pecoff/
827support for
828.Tn Win32
829binaries; see
830.Xr compat_pecoff 8
831.It Sy sunos/
832support for
833.Tn SunOS 4.x
834binaries; see
835.Xr compat_sunos 8
836.It Sy svr4/
837support for System V Release 4 binaries; see
838.Xr compat_svr4 8
839.It Sy ultrix/
840support for
841.Tn ULTRIX
842binaries
843.It Sy vax1k/
844support for older VAX binaries that started on a 1 KB boundary
845.El
846.Pp
847.It Sy conf/
848architecture independent configuration directory
849.It Sy crypto/
850cryptographic kernel source, which may have import or export restrictions
851.It Sy ddb/
852in kernel debugger
853.It Sy dev/
854architecture independent device support
855.It Sy fs/
856miscellaneous file systems
857.Bl -tag -width "filecorefs/" -compact
858.It Sy adosfs/
859AmigaDOS file-system support; see
860.Xr mount_ados 8
861.It Sy cd9660/
862support for the ISO-9660 filesystem; see
863.Xr mount_cd9660 8
864.It Sy filecorefs/
865support for the Acorn RISC OS filecore filesystem; see
866.Xr mount_filecore 8
867.It Sy msdosfs/
868.Tn MS-DOS
869file system; see
870.Xr mount_msdos 8
871.It Sy ntfs/
872NTFS filesystem support; see
873.Xr mount_ntfs 8
874.It Sy smbfs
875SMB/CIFS filesystem support; see
876.Xr mount_smbfs 8
877.It Sy union/
878union file system; see
879.Xr mount_union 8
880.El
881.It Sy gdbscripts/
882support for accessing kernel structures from within the debugger
883.Xr gdb 1 .
884.It Sy ipkdb/
885support for kernel debugging over the network
886.Pp
887.It Sy kern/
888support for the high kernel (system calls)
889.It Sy lib/
890kernel libraries
891.Pp
892.Bl -tag -width "libkern/" -compact
893.It Sy libkern/
894C library routines used in the kernel
895.It Sy libsa/
896machine independent stand alone kernel library
897.It Sy libz/
898compression library
899.El
900.Pp
901.It Sy lkm/
902loadable kernel modules
903.Pp
904.Bl -tag -width "gdbscripts/" -compact
905.It Sy compat/
906LKM support compatibility modules;  currently unsupported.
907.It Sy netinet/
908LKM support networking modules
909.Pp
910.Bl -tag -width "if_ipl/" -compact
911.It Sy if_ipl/
912LKM for IP-Filter
913.El
914.Pp
915.It Sy vfs/
916LKM support for file systems.
917.El
918.Pp
919.It Sy miscfs/
920miscellaneous file systems
921.Pp
922.Bl -tag -width "deadfs/" -compact
923.It Sy deadfs/
924kernel only dead file system
925.It Sy fdesc/
926file descriptor file system; see
927.Xr mount_fdesc 8
928.It Sy fifofs/
929POSIX FIFO support
930.It Sy genfs/
931kernel only generic file system
932.It Sy kernfs/
933kernel namespace file system; see
934.Xr mount_kernfs 8
935.It Sy nullfs/
936loop back file system; see
937.Xr mount_null 8
938.It Sy overlay/
939overlay file system; see
940.Xr mount_overlay 8
941.It Sy portal/
942portal file system; see
943.Xr mount_portal 8
944.It Sy procfs/
945process file system; see
946.Xr mount_procfs 8
947.It Sy specfs/
948kernel only special file system
949.It Sy syncfs/
950kernel trickle sync algorithm
951.It Sy umapfs/
952user and group re-mapping file system; see
953.Xr mount_umap 8
954.El
955.Pp
956.It Sy net/
957miscellaneous networking support
958.It Sy netatalk/
959AppleTalk networking support
960.It Sy netccitt/
961CCITT networking support
962.It Sy netinet/
963IP networking support
964.It Sy netinet6/
965IPv6 networking support
966.It Sy netiso/
967ISO networking support
968.It Sy netkey/
969Key database for IPsec networking support
970.It Sy netnatm/
971ATM networking support
972.It Sy netns/
973XNS networking support
974.It Sy nfs/
975NFS support
976.It Sy stand/
977kernel standalone support
978.It Sy sys/
979kernel (and system) include files
980.It Sy ufs/
981local filesystem support
982.Pp
983.Bl -tag -width "ffs/" -compact
984.It Sy ffs/
985the Berkeley Fast File System
986.It Sy lfs/
987the log-structured file system
988.It Sy mfs/
989the in-memory file system
990.It Sy ufs/
991shared
992.Ux
993file system support
994.El
995.It Sy uvm/
996UVM virtual memory system
997.El
998.It Sy usr.bin/
999source for utilities/files in
1000.Pa /usr/bin
1001.It Sy usr.sbin/
1002source for utilities/files in
1003.Pa /usr/sbin
1004.El
1005.It Sy /var/
1006multi-purpose log, temporary, transient, and spool files
1007.Pp
1008.Bl -tag -width "preserve/" -compact
1009.It Sy account/
1010system accounting files
1011.Pp
1012.Bl -tag -width "acct" -compact
1013.It Sy acct
1014execution accounting file;
1015see
1016.Xr acct 5
1017.El
1018.Pp
1019.It Sy at/
1020timed command scheduling files;
1021see
1022.Xr at 1
1023.It Sy backups/
1024miscellaneous backup files, largely of files found in
1025.Pa /etc
1026.It Sy chroot/
1027home directories of applications which are run in a
1028.Xr chroot 8
1029.Dq cage .
1030.It Sy crash/
1031system crash dumps; see
1032.Xr savecore 8
1033.It Sy cron/
1034scheduled commands configuration files; see
1035.Xr cron 8
1036.It Sy db/
1037miscellaneous automatically generated system-specific database files,
1038and persistent files used in the maintenance of third party software.
1039.Pp
1040.Bl -tag -width "monthly.out" -compact
1041.It Sy pkg
1042default location for metadata related to third party software
1043packages.
1044See
1045.Xr pkg_install 1
1046for more details of the
1047.Nx
1048Packages Collection, or pkgsrc.
1049.El
1050.Pp
1051.It Sy games/
1052miscellaneous game status and log files
1053.It Sy heimdal/
1054Kerberos 5 KDC database; see
1055.Xr kdc 8
1056.It Sy log/
1057miscellaneous system log files
1058.Pp
1059.Bl -tag -width "monthly.out" -compact
1060.It Sy amd.*
1061.Xr amd 8
1062logs
1063.It Sy daily.out
1064output of the last run of the
1065.Pa /etc/daily
1066script
1067.It Sy ftp.*
1068.Xr ftp 1
1069logs
1070.It Sy kerberos.*
1071.Xr kerberos 8
1072logs
1073.It Sy lastlog
1074system last time logged in log; see
1075.Xr utmp 5
1076.It Sy lpd-errs.*
1077printer daemon error logs; see
1078.Xr lpd 8
1079.It Sy maillog.*
1080.Xr sendmail 8
1081log files
1082.It Sy messages.*
1083general system information log
1084.It Sy monthly.out
1085output of the last run of the
1086.Pa /etc/monthly
1087script
1088.It Sy secure
1089sensitive security information log
1090.It Sy sendmail.st
1091.Xr sendmail 8
1092statistics
1093.It Sy timed.*
1094.Xr timed 8
1095logs
1096.It Sy weekly.out
1097output of the last run of the
1098.Pa /etc/weekly
1099script
1100.It Sy wtmp
1101login/logout log;
1102see
1103.Xr utmp 5
1104.El
1105.Pp
1106.It Sy mail/
1107user system mailboxes
1108.It Sy msgs/
1109system messages; see
1110.Xr msgs 1
1111.\" since we use nvi (now called vi) this isn't the place any more, is it?
1112.It Sy preserve/
1113temporary home of files preserved after an accidental death of
1114.Xr ex 1
1115or
1116.Xr vi 1
1117.It Sy quotas/
1118filesystem quota information
1119.It Sy run/
1120system information files, rebuilt after each reboot
1121.Pp
1122.Bl -tag -width "utmp" -compact
1123.It Sy utmp
1124database of current users; see
1125.Xr utmp 5
1126.El
1127.Pp
1128.It Sy rwho/
1129rwho data files; see
1130.Xr rwhod 8 ,
1131.Xr rwho 1 ,
1132and
1133.Xr ruptime 1
1134.It Sy spool/
1135miscellaneous printer and mail system spooling directories
1136.Pp
1137.Bl -tag -width "uucppublic/" -compact
1138.It Sy ftp/
1139commonly
1140.Dq ~ftp ,
1141the anonymous ftp root directory; see
1142.Xr ftpd 8
1143.It Sy mqueue/
1144sendmail mail queue;
1145see
1146.Xr sendmail 8
1147.It Sy news/
1148Network news archival and spooling directories
1149.It Sy output/
1150printer spooling directories
1151.It Sy postfix/
1152postfix mail queue;
1153see
1154.Xr postfix 1
1155.It Sy uucp/
1156uucp spool directory
1157.It Sy uucppublic/
1158commonly
1159.Dq ~uucp ,
1160the uucp public temporary directory; see
1161.Xr uucp 1
1162.El
1163.Pp
1164.It Sy tmp/
1165temporary files that are not discarded between system reboots
1166.Pp
1167.Bl -tag -width "vi.recover/" -compact
1168.It Sy vi.recover/
1169recovery directory for new
1170.Xr vi 1
1171.El
1172.Pp
1173.It Sy yp/
1174Databases and configuration for the NIS (YP) system; see
1175.Xr nis 8 .
1176.El
1177.El
1178.Sh SEE ALSO
1179.Xr apropos 1 ,
1180.Xr ls 1 ,
1181.Xr whatis 1 ,
1182.Xr whereis 1 ,
1183.Xr which 1
1184.Sh HISTORY
1185A
1186.Nm
1187manual page appeared in
1188.At v7 .
1189