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