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