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