1*43671Strent.\" Copyright (c) 1990 The Regents of the University of California. 2*43671Strent.\" All rights reserved. 320957Smckusick.\" 4*43671Strent.\" %sccs.include.redist.man% 520957Smckusick.\" 6*43671Strent.\" @(#)hier.7 6.2 (Berkeley) 06/24/90 7*43671Strent.\" 8*43671Strent.Dd 9*43671Strent.Dt HIER 7 10*43671Strent.Os BSD 4.4 11*43671Strent.Sh NAME 12*43671Strent.Nm hier 13*43671Strent.Nd layout of filesystems 14*43671Strent.Sh DESCRIPTION 15*43671StrentA sketch of the filesystem hierarchy. 16*43671Strent.Dw Fl 17*43671Strent.Di L 18*43671Strent.Dp Li / 19*43671Strentroot directory of the filesystem 20*43671Strent.Dp Li /bin/ 21*43671Strentuser utilities fundamental to both single-user and multi-user environments 22*43671Strent.Dp Li /dev/ 23*43671Strentblock and character device files 24*43671Strent.Dw Fl 25*43671Strent.Di L 26*43671Strent.Dp Li MAKEDEV 27*43671Strentscript for creating device files; see makedev(8) 28*43671Strent.Dp Li fd/ 29*43671Strentfile descriptor files; see fd(4) 30*43671Strent.Dp 31*43671Strent.Dp Li /etc/ 32*43671Strentsystem configuration files and scripts 33*43671Strent.Dw Fl 34*43671Strent.Di L 35*43671Strent.Dp Li localtime 36*43671Strentlocal timezone information; see ctime(3) 37*43671Strent.Dp Li disklabels/ 38*43671Strentbackup disklabels; see disklabel(8) 39*43671Strent.Dp Li kerberosIV/ 40*43671Strentconfiguration files for the kerberos version IV; see kerberos(1) 41*43671Strent.Dp Li mtree/ 42*43671Strentmtree configuration files; see mtree(1) 43*43671Strent.Dp Li namedb/ 44*43671Strentnamed configuration files; see named(8) 45*43671Strent.Dp 46*43671Strent.Dp Li /mnt/ 47*43671Strentempty directory commonly used by system administrators as a temporary mount point 48*43671Strent.Dp Li /sbin/ 49*43671Strentsystem programs and administration utilities fundamental to both single-user and multi-user environments 50*43671Strent.Dp Li /stand/ 51*43671Strentprograms used in a standalone environment 52*43671Strent.Dp Li /tmp/ 53*43671Strenttemporary files, usually a mfs(8) memory-based filesystem (the contents 54*43671Strentof /tmp are usually NOT preserved across a system reboot) 55*43671Strent.Dp Li /usr/ 56*43671Strentcontains the majority of user utilities and applications 57*43671Strent.Dw Fl 58*43671Strent.Di L 59*43671Strent.Dp Li bin/ 60*43671Strentcommon utilities, programming tools, and applications 61*43671Strent.Dp Li contrib/ 62*43671Strentlarge packages contributed to Berkeley by outside parties 63*43671Strent.Dp Li games/ 64*43671Strentuseful and semi-frivolous programs 65*43671Strent.Dp Li include/ 66*43671Strentstandard C include files 67*43671Strent.Dw Fl 68*43671Strent.Di L 69*43671Strent.Dp Li X11/ 70*43671StrentC include files for X11 window system 71*43671Strent.Dp Li arpa/ 72*43671StrentC include files for Internet service protocols 73*43671Strent.Dp Li kerberosIV/ 74*43671StrentC include files for kerberos authentication package; see kerberos(1) 75*43671Strent.Dp Li machine/ 76*43671Strentmachine specific C include files 77*43671Strent.Dp Li net/ 78*43671Strentmisc network C include files 79*43671Strent.Dp Li netimp/ 80*43671StrentC include files for IMP protocols; see imp(4) 81*43671Strent.Dp Li netinet/ 82*43671StrentC include files for Internet standard protocols; see inet(4) 83*43671Strent.Dp Li netiso/ 84*43671StrentC include files for ISO standard protocols; see iso(4) 85*43671Strent.Dp Li netns/ 86*43671StrentC include files for XNS standard protocols; see ns(4) 87*43671Strent.Dp Li nfs/ 88*43671StrentC include files for NFS (Network File System) 89*43671Strent.Dp Li pascal/ 90*43671Strentinclude files for pc(1) 91*43671Strent.Dp Li protocols/ 92*43671StrentC include files for Berkeley service protocols 93*43671Strent.Dp Li sys/ 94*43671Strentsystem C include files (kernel data structures) 95*43671Strent.Dp Li ufs/ 96*43671StrentC include files for UFS (The U-word File System) 97*43671Strent.Dp 98*43671Strent.Dp Li lib/ 99*43671Strentarchive libraries 100*43671Strent.Dw Fl 101*43671Strent.Di L 102*43671Strent.Dp Li uucp/ 103*43671StrentUUCP configuration files (historically placed; to be moved) 104*43671Strent.Dp 105*43671Strent.Dp Li libdata/ 106*43671Strentmisc. utility data files 107*43671Strent.Dp Li libexec/ 108*43671Strentsystem daemons & system utilities (executed by other programs) 109*43671Strent.Dp Li local/ 110*43671Strentlocal executables, libraries, etc. 111*43671Strent.Dp Li obj/ 112*43671Strentarchitecture-specific target tree produced by building the /usr/src tree 113*43671Strent.Dp Li old/ 114*43671Strentprograms from past lives of BSD which may disappear in future 115*43671Strentreleases 116*43671Strent.Dp Li sbin/ 117*43671Strentsystem daemons & system utilities (executed by users) 118*43671Strent.Dp Li share/ 119*43671Strentarchitecture-independent ascii text files 120*43671Strent.Dw Fl 121*43671Strent.Di L 122*43671Strent.Dp Li calendar/ 123*43671Strenta variety of pre-fab calendar files; see calendar(1) 124*43671Strent.Dp Li dict/ 125*43671Strentword lists; see look(1) 126*43671Strent.Dw Fl 127*43671Strent.Di L 128*43671Strent.Dp Li words 129*43671Strentcommon words 130*43671Strent.Dp Li web2 131*43671Strentwords from Webster's 2nd International 132*43671Strent.Dp Li papers/ 133*43671Strentreference databases; see refer(1) 134*43671Strent.Dp Li special/ 135*43671Strentcustom word lists; see spell(1) 136*43671Strent.Dp 137*43671Strent.Dp Li doc/ 138*43671Strentmisc documentation; src for most of the printed BSD manuals (available 139*43671Strentfrom the USENIX association) 140*43671Strent.Dp Li games/ 141*43671Strentascii text files used by various games 142*43671Strent.Dp Li man/ 143*43671Strentmanual pages 144*43671Strent.Dp Li me/ 145*43671Strentmacros for use with the me macro package 146*43671Strent.Dp Li misc/ 147*43671Strentmisc system-wide ascii text files 148*43671Strent.Dw Fl 149*43671Strent.Di L 150*43671Strent.Dp Li termcap 151*43671Strentterminal characteristics database; see termcap(5) 152*43671Strent.Dp 153*43671Strent.Dp Li mk/ 154*43671Strenttemplates for make; see make(1) 155*43671Strent.Dp Li ms/ 156*43671Strentmacros for use with the ms macro package 157*43671Strent.Dp Li skel/ 158*43671Strentexample . (dot) files for new accounts 159*43671Strent.Dp Li tabset/ 160*43671Strenttab description files for a variety of terminals; used in 161*43671Strentthe termcap file; see termcap(5) 162*43671Strent.Dp Li tmac/ 163*43671Strenttext processing macros; see nroff(1) and troff(1) 164*43671Strent.Dp Li zoneinfo/ 165*43671Strenttimezone configuration information; see tzfile(5) 166*43671Strent.Dp 167*43671Strent.Dp Li src/ 168*43671StrentBSD and/or local source files 169*43671Strent.Dw Fl 170*43671Strent.Di L 171*43671Strent.Dp Li bin/ 172*43671Strentsrc for files in /bin 173*43671Strent.Dp Li contrib/ 174*43671Strentsrc for files in /usr/contrib 175*43671Strent.Dp Li etc/ 176*43671Strentsrc for files in /etc 177*43671Strent.Dp Li games/ 178*43671Strentsrc for files in /usr/games 179*43671Strent.Dp Li include/ 180*43671Strentsrc for files in /usr/include 181*43671Strent.Dp Li kerberosIV/ 182*43671Strentsrc for kerberos version IV 183*43671Strent.Dp Li lib/ 184*43671Strentsrc for files in /usr/lib 185*43671Strent.Dp Li libexec/ 186*43671Strentsrc for files in /usr/libexec 187*43671Strent.Dp Li local/ 188*43671Strentsrc for files in /usr/local 189*43671Strent.Dp Li old/ 190*43671Strentsrc for files in /usr/old 191*43671Strent.Dp Li pgrm/ 192*43671Strentsrc for programming tools in /usr/bin 193*43671Strent.Dp Li sbin/ 194*43671Strentsrc for files in /sbin 195*43671Strent.Dp Li share/ 196*43671Strentsrc for files in /usr/share 197*43671Strent.Dp Li sys/ 198*43671Strentkernel src files 199*43671Strent.Dp Li usr.bin/ 200*43671Strentsrc for files in /usr/bin 201*43671Strent.Dp Li usr.sbin/ 202*43671Strentsrc for files in /usr/sbin 203*43671Strent.Dp 204*43671Strent.Dp 205*43671Strent.Dp Li /var/ 206*43671Strentmulti-purpose log, temporary, transient, and spool files 207*43671Strent.Dw Fl 208*43671Strent.Di L 209*43671Strent.Dp Li account/ 210*43671Strentsystem accounting files 211*43671Strent.Dw Fl 212*43671Strent.Di L 213*43671Strent.Dp Li acct 214*43671Strentexecution accounting file; see acct(5) 215*43671Strent.Dp 216*43671Strent.Dp Li at/ 217*43671Strenttimed command scheduling files; see at(1) 218*43671Strent.Dp Li backups/ 219*43671Strentmisc. backup files 220*43671Strent.Dp Li db/ 221*43671Strentmisc. automatically generated system-specific database files 222*43671Strent.Dp Li games/ 223*43671Strentmisc. game status and log files 224*43671Strent.Dp Li log/ 225*43671Strentmisc. system log files 226*43671Strent.Dw Fl 227*43671Strent.Di L 228*43671Strent.Dp Li wtmp 229*43671Strentlogin/logout log; see wtmp(5) 230*43671Strent.Dp 231*43671Strent.Dp Li mail/ 232*43671Strentuser mailbox files 233*43671Strent.Dp Li preserve/ 234*43671Strenttemporary home of files preserved after an accidental death 235*43671Strentof an editor; see ex(1) 236*43671Strent.Dp Li quotas/ 237*43671Strentfilesystem quota information files 238*43671Strent.Dp Li run/ 239*43671Strentsystem information files describing various info about 240*43671Strentsystem since it was booted 241*43671Strent.Dw Fl 242*43671Strent.Di L 243*43671Strent.Dp Li utmp 244*43671Strentdatabase of current users; see utmp(5) 245*43671Strent.Dp 246*43671Strent.Dp Li rwho/ 247*43671Strentrwho data files; see rwhod(8), rwho(1), and ruptime(1) 248*43671Strent.Dp Li spool/ 249*43671Strentmisc. printer and mail system spooling directories 250*43671Strent.Dw Fl 251*43671Strent.Di L 252*43671Strent.Dp Li ftp/ 253*43671Strentcommonly ~ftp; the anonymous ftp root directory 254*43671Strent.Dp Li mqueue/ 255*43671Strentundelivered mail queue; see sendmail(8) 256*43671Strent.Dp Li output/ 257*43671Strentline printer spooling directories 258*43671Strent.Dp Li secretmail/ 259*43671Strentsecretmail spool directory; see xget(1) 260*43671Strent.Dp Li uucp/ 261*43671Strentuucp spool directory 262*43671Strent.Dp Li uucppublic/ 263*43671Strentcommonly ~uucp; public uucp temporary directory 264*43671Strent.Dp 265*43671Strent.Dp Li tmp/ 266*43671Strenttemporary files that are kept between system reboots 267*43671Strent.Dp 268*43671Strent.Dp Li /vmunix 269*43671Strentpure kernel executable (the operating system loaded into memory 270*43671Strentat boot time). 271*43671Strent.Dp 272*43671Strent.Sh SEE ALSO 273*43671Strent.Xr ls 1 , 274*43671Strent.Xr apropos 1 , 275*43671Strent.Xr whatis 1 , 276*43671Strent.Xr whereis 1 , 277*43671Strent.Xr finger 1 , 278*43671Strent.Xr which 1 , 279*43671Strent.Xr find 1 , 280*43671Strent.Xr grep 1 , 281*43671Strent.Xr fsck 8 282*43671Strent.Sh HISTORY 283*43671Strent4.4 BSD. 284