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