| Commit | Line | Data |
|---|---|---|
| 984263bc MD |
1 | .\" Copyright (c) 1990, 1993 |
| 2 | .\" The Regents of the University of California. All rights reserved. | |
| 3 | .\" | |
| 4 | .\" Redistribution and use in source and binary forms, with or without | |
| 5 | .\" modification, are permitted provided that the following conditions | |
| 6 | .\" are met: | |
| 7 | .\" 1. Redistributions of source code must retain the above copyright | |
| 8 | .\" notice, this list of conditions and the following disclaimer. | |
| 9 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
| 10 | .\" notice, this list of conditions and the following disclaimer in the | |
| 11 | .\" documentation and/or other materials provided with the distribution. | |
| 12 | .\" 3. All advertising materials mentioning features or use of this software | |
| 13 | .\" must display the following acknowledgement: | |
| 14 | .\" This product includes software developed by the University of | |
| 15 | .\" California, Berkeley and its contributors. | |
| 16 | .\" 4. Neither the name of the University nor the names of its contributors | |
| 17 | .\" may be used to endorse or promote products derived from this software | |
| 18 | .\" without specific prior written permission. | |
| 19 | .\" | |
| 20 | .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |
| 21 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
| 22 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
| 23 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
| 24 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
| 25 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
| 26 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
| 27 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
| 28 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
| 30 | .\" SUCH DAMAGE. | |
| 31 | .\" | |
| 32 | .\" @(#)hier.7 8.1 (Berkeley) 6/5/93 | |
| 33 | .\" $FreeBSD: src/share/man/man7/hier.7,v 1.29.2.17 2003/01/13 21:43:50 ceri Exp $ | |
| 34 | .\" | |
| 1c05bfaa | 35 | .Dd April 2, 2011 |
| 984263bc MD |
36 | .Dt HIER 7 |
| 37 | .Os | |
| 38 | .Sh NAME | |
| 39 | .Nm hier | |
| 40 | .Nd layout of filesystems | |
| 41 | .Sh DESCRIPTION | |
| 42 | A sketch of the filesystem hierarchy. | |
| 52eff785 | 43 | .Bl -tag -width ".Pa /modules/" |
| 984263bc MD |
44 | .It Pa / |
| 45 | root directory of the filesystem | |
| 46 | .It Pa /bin/ | |
| 47 | user utilities fundamental to both single-user and multi-user environments | |
| 48 | .It Pa /boot/ | |
| 49 | programs and configuration files used during operating system bootstrap | |
| 50 | .Pp | |
| 52eff785 | 51 | .Bl -tag -width ".Pa defaults/" -compact |
| 984263bc MD |
52 | .It Pa defaults/ |
| 53 | default bootstrapping configuration files; see | |
| 54 | .Xr loader.conf 5 | |
| 8e1c6f81 MS |
55 | .It Pa kernel |
| 56 | pure kernel executable (the operating system loaded into memory | |
| 57 | at boot time). | |
| 58 | .It Pa modules/ | |
| 59 | loadable kernel modules; | |
| 60 | see | |
| 61 | .Xr kldstat 8 | |
| 984263bc MD |
62 | .El |
| 63 | .It Pa /dev/ | |
| 64 | block and character device files | |
| 65 | .Pp | |
| 2c272516 | 66 | .Bl -tag -width ".Pa fd/" -compact |
| 984263bc MD |
67 | .It Pa fd/ |
| 68 | file descriptor files; | |
| 69 | see | |
| 70 | .Xr \&fd 4 | |
| 71 | .El | |
| 72 | .It Pa /etc/ | |
| 73 | system configuration files and scripts | |
| 74 | .Pp | |
| faf56202 HT |
75 | .Bl -tag -width ".Pa bluetooth/" -compact |
| 76 | .It Pa bluetooth/ | |
| 77 | bluetooth configuration files | |
| 984263bc MD |
78 | .It Pa defaults/ |
| 79 | default system configuration files; | |
| 80 | see | |
| 81 | .Xr rc 8 | |
| 3ffac315 MS |
82 | .It Pa dma/ |
| 83 | .Xr dma 8 | |
| 84 | configuration files | |
| 20b74b68 SW |
85 | .\".It Pa firmware/ |
| 86 | .\"Firmware image files; | |
| 87 | .\"see | |
| 88 | .\".Xr firmware 9 | |
| 984263bc MD |
89 | .It Pa isdn/ |
| 90 | isdn4bsd configuration files; | |
| 91 | see | |
| 92 | .Xr isdnd 8 | |
| 984263bc MD |
93 | .It Pa localtime |
| 94 | local timezone information; | |
| 95 | see | |
| 96 | .Xr ctime 3 | |
| 97 | .It Pa mail/ | |
| 98 | Sendmail control files | |
| 99 | .It Pa mtree/ | |
| 100 | mtree configuration files; | |
| 101 | see | |
| 102 | .Xr mtree 8 | |
| 2f23b1bc SW |
103 | .It Pa pam.d/ |
| 104 | configuration files for the Pluggable Authentication Modules (PAM) | |
| 105 | library | |
| 984263bc MD |
106 | .It Pa periodic/ |
| 107 | scripts that are run daily, weekly, and monthly, via | |
| 108 | .Xr cron 8 ; | |
| 109 | see | |
| 110 | .Xr periodic 8 | |
| 111 | .It Pa ppp/ | |
| 112 | ppp configuration files; | |
| 113 | see | |
| 114 | .Xr ppp 8 | |
| 2f23b1bc SW |
115 | .It Pa rc.d/ |
| 116 | System and daemon startup/control scripts; | |
| 117 | see | |
| 118 | .Xr rc 8 | |
| 119 | .It Pa ssh/ | |
| 120 | OpenSSH configuration files; | |
| 121 | see | |
| 122 | .Xr ssh 1 | |
| 984263bc MD |
123 | .It Pa ssl/ |
| 124 | OpenSSL configuration files | |
| 858aa4e8 MS |
125 | .It Pa upgrade/ |
| 126 | Files relevant to system upgrades | |
| 984263bc MD |
127 | .It Pa uucp/ |
| 128 | uucp configuration files; | |
| 129 | see | |
| 130 | .Xr uucp 1 | |
| 131 | .El | |
| 12340c26 SW |
132 | .It Pa /home/ |
| 133 | HOME directories of non-root users | |
| 12340c26 SW |
134 | .It Pa /mnt/ |
| 135 | empty directory commonly used by | |
| 136 | system administrators as a temporary mount point | |
| 5ba3877b SW |
137 | .It Pa /pfs/ |
| 138 | pseudo file system directory (on | |
| 139 | .Xr hammer 5 | |
| 140 | root file systems) | |
| 984263bc MD |
141 | .It Pa /proc/ |
| 142 | process file system; | |
| 143 | see | |
| 144 | .Xr procfs 5 , | |
| 145 | .Xr mount_procfs 8 | |
| 146 | .It Pa /root/ | |
| 147 | root's HOME directory | |
| 148 | .It Pa /sbin/ | |
| 149 | system programs and administration utilities | |
| 150 | fundamental to both single-user and multi-user environments | |
| 12340c26 SW |
151 | .It Pa /sys/ |
| 152 | the kernel's source code (usually a symbolic link to | |
| 153 | .Pa /usr/src/sys ) | |
| 984263bc MD |
154 | .It Pa /tmp/ |
| 155 | temporary files that are not guaranteed to persist across system reboots | |
| 156 | .It Pa /usr/ | |
| 157 | contains the majority of user utilities and applications | |
| 158 | .Pp | |
| 52eff785 | 159 | .Bl -tag -width ".Pa libdata/" -compact |
| 984263bc MD |
160 | .It Pa bin/ |
| 161 | common utilities, programming tools, and applications | |
| 162 | .It Pa games/ | |
| 163 | useful and semi-frivolous programs | |
| 164 | .It Pa include/ | |
| 165 | standard C include files | |
| 166 | .Pp | |
| 52eff785 | 167 | .Bl -tag -width ".Pa libmilter/" -compact |
| 984263bc MD |
168 | .It Pa arpa/ |
| 169 | C include files for Internet service protocols | |
| f97cf1ca SW |
170 | .It Pa c++/ |
| 171 | C++ include files | |
| 984263bc MD |
172 | .It Pa cam/ |
| 173 | C include files for the Common Access Methods Layer | |
| f97cf1ca | 174 | .Pp |
| 52eff785 | 175 | .Bl -tag -width ".Pa scsi/" -compact |
| 984263bc MD |
176 | .It Pa scsi/ |
| 177 | The SCSI device on top of CAM | |
| 178 | .El | |
| f97cf1ca | 179 | .Pp |
| 984263bc MD |
180 | .It Pa dev/ |
| 181 | C include files for programming various | |
| 9bb2a92d | 182 | .Dx |
| 984263bc | 183 | devices |
| f97cf1ca SW |
184 | .It Pa emulation/ |
| 185 | Include Files for various emulation layers | |
| 984263bc | 186 | .It Pa fs/ |
| f97cf1ca | 187 | .Pp |
| 52eff785 | 188 | .Bl -tag -width ".Pa smbfs/" -compact |
| 984263bc MD |
189 | .It Pa smbfs/ |
| 190 | SMB/CIFS filesystem | |
| 191 | .El | |
| f97cf1ca | 192 | .Pp |
| 984263bc | 193 | .It Pa isofs/ |
| f97cf1ca | 194 | .Pp |
| 52eff785 | 195 | .Bl -tag -width ".Pa cd9660/" -compact |
| 984263bc MD |
196 | .It Pa cd9660/ |
| 197 | iso9660 filesystem | |
| 198 | .El | |
| f97cf1ca | 199 | .Pp |
| 984263bc MD |
200 | .It Pa libmilter/ |
| 201 | C include files for libmilter, | |
| 202 | the sendmail mail filter API | |
| 782740ff SW |
203 | .It Pa libprop/ |
| 204 | C include files for libprop | |
| 984263bc MD |
205 | .It Pa machine/ |
| 206 | machine-specific C include files | |
| 207 | .It Pa msdosfs/ | |
| 208 | MS-DOS file system | |
| 209 | .It Pa net/ | |
| 210 | misc network C include files | |
| 984263bc MD |
211 | .It Pa netatm/ |
| 212 | ATM include files; | |
| 213 | see | |
| 214 | .Xr atm 8 | |
| 215 | .It Pa netinet/ | |
| 216 | C include files for Internet standard protocols; | |
| 217 | see | |
| 218 | .Xr inet 4 | |
| 219 | .It Pa netinet6/ | |
| 220 | C include files for Internet protocol version 6; | |
| 221 | see | |
| 222 | .Xr inet6 4 | |
| 223 | .It Pa netipx/ | |
| 224 | IPX/SPX protocol stacks | |
| 225 | .It Pa netkey/ | |
| 226 | kernel key-management service | |
| 227 | .It Pa netnatm/ | |
| 228 | NATM include files; | |
| 229 | see | |
| 230 | .Xr natm 4 | |
| 984263bc MD |
231 | .It Pa netsmb/ |
| 232 | SMB/CIFS requester | |
| 233 | .It Pa nfs/ | |
| 234 | C include files for NFS (Network File System) | |
| 235 | .It Pa objc/ | |
| 236 | Objective C include files | |
| 237 | .It Pa openssl/ | |
| 238 | OpenSSL (Cryptography/SSL toolkit) headers | |
| 42bcdd13 PA |
239 | .It Pa pcap/ |
| 240 | Packet Capture (libpcap) headers; | |
| 241 | see | |
| 242 | .Xr pcap 3 | |
| 984263bc MD |
243 | .It Pa pccard/ |
| 244 | PC-CARD controllers | |
| 984263bc MD |
245 | .It Pa protocols/ |
| 246 | C include files for Berkeley service protocols | |
| 247 | .It Pa readline/ | |
| 248 | get a line from a user, with editing; | |
| 249 | see | |
| 250 | .Xr readline 3 | |
| 251 | .It Pa rpc/ | |
| 252 | remote procedure calls; | |
| 253 | see | |
| 254 | .Xr rpc 3 | |
| 255 | .It Pa rpcsvc/ | |
| 256 | definition of RPC service structures; see | |
| 257 | .Xr rpc 3 | |
| 258 | .It Pa security/ | |
| 259 | PAM; see | |
| 260 | .Xr pam 8 | |
| 984263bc MD |
261 | .It Pa sys/ |
| 262 | system C include files (kernel data structures) | |
| 984263bc MD |
263 | .It Pa ufs/ |
| 264 | C include files for UFS (The U-word File System) | |
| f97cf1ca | 265 | .Pp |
| 52eff785 | 266 | .Bl -tag -width ".Pa ffs/" -compact |
| 984263bc MD |
267 | .It Pa ffs/ |
| 268 | Fast filesystem | |
| 269 | .It Pa mfs/ | |
| 270 | memory file system; | |
| 271 | see | |
| 272 | .Xr mount_mfs 8 | |
| 273 | .It Pa ufs/ | |
| 274 | UFS filesystem | |
| 275 | .El | |
| f97cf1ca | 276 | .Pp |
| 984263bc MD |
277 | .It Pa vm/ |
| 278 | virtual memory; | |
| 279 | see | |
| 280 | .Xr vmstat 8 | |
| 281 | .El | |
| 282 | .Pp | |
| 283 | .It Pa lib/ | |
| 284 | archive libraries | |
| f97cf1ca | 285 | .Pp |
| 52eff785 | 286 | .Bl -tag -width ".Pa compat/" -compact |
| 984263bc MD |
287 | .It Pa aout/ |
| 288 | a.out archive libraries | |
| 289 | .It Pa compat/ | |
| 290 | shared libraries for compatibility | |
| b1956a22 | 291 | .Pp |
| 52eff785 | 292 | .Bl -tag -width ".Pa aout/" -compact |
| 984263bc MD |
293 | .It Pa aout/ |
| 294 | a.out backward compatibility libraries | |
| 295 | .El | |
| 64099218 PA |
296 | .It Pa engines/ |
| 297 | OpenSSL dynamic engines | |
| 984263bc MD |
298 | .El |
| 299 | .Pp | |
| 300 | .It Pa libdata/ | |
| 301 | misc. utility data files | |
| f97cf1ca | 302 | .Pp |
| 52eff785 | 303 | .Bl -tag -width ".Pa stallion/" -compact |
| 984263bc MD |
304 | .It Pa doscmd/ |
| 305 | files used by doscmd (drivers, fonts, etc.); | |
| 306 | see | |
| 307 | .Xr doscmd 1 | |
| f97cf1ca | 308 | .Pp |
| 52eff785 | 309 | .Bl -tag -width ".Pa fonts/" -compact |
| 984263bc MD |
310 | .It Pa fonts/ |
| 311 | fonts used by doscmd | |
| 312 | .El | |
| f97cf1ca | 313 | .Pp |
| 984263bc MD |
314 | .It Pa lint/ |
| 315 | various prebuilt lint libraries; | |
| 316 | see | |
| 317 | .Xr lint 1 | |
| 984263bc MD |
318 | .It Pa stallion/ |
| 319 | holds the download firmware images | |
| 320 | .El | |
| 321 | .Pp | |
| 322 | .It Pa libexec/ | |
| 323 | system daemons & system utilities (executed by other programs) | |
| f97cf1ca | 324 | .Pp |
| b1242318 | 325 | .It Pa binutils221/ |
| f97cf1ca | 326 | .Pp |
| 52eff785 | 327 | .Bl -tag -width ".Pa ldscripts/" -compact |
| f97cf1ca SW |
328 | .It Pa ldscripts/ |
| 329 | linker scripts; | |
| 330 | see | |
| 331 | .Xr ld 1 | |
| 332 | .El | |
| 333 | .Pp | |
| 37c5a0db JM |
334 | .It Pa binutils222/ |
| 335 | .Pp | |
| 336 | .Bl -tag -width ".Pa ldscripts/" -compact | |
| 337 | .It Pa ldscripts/ | |
| 338 | linker scripts; | |
| 339 | see | |
| 340 | .Xr ld 1 | |
| 341 | .El | |
| 342 | .Pp | |
| 2057458a SW |
343 | .It Pa lpr/ |
| 344 | utilities and filters for LP print system; | |
| 345 | see | |
| 346 | .Xr lpr 1 | |
| 984263bc MD |
347 | .It Pa sendmail/ |
| 348 | the sendmail binary; | |
| 349 | see | |
| 350 | .Xr mailwrapper 8 | |
| 351 | and | |
| 352 | .Xr sendmail 8 | |
| 353 | .It Pa sm.bin/ | |
| 354 | restricted shell for sendmail; | |
| 355 | see | |
| 356 | .Xr smrsh 8 | |
| 357 | .It Pa uucp/ | |
| 358 | uucp utilities; | |
| 359 | see | |
| 360 | .Xr uucp 1 | |
| 361 | .El | |
| 362 | .Pp | |
| 363 | .It Pa local/ | |
| 364 | local executables, libraries, etc. | |
| 12340c26 SW |
365 | Within |
| 366 | .Pa local/ , | |
| 367 | the general layout sketched out by | |
| 984263bc | 368 | .Xr hier 7 |
| 12340c26 SW |
369 | for |
| 370 | .Pa /usr | |
| 33fa2848 TN |
371 | should be used. |
| 372 | Exceptions are the | |
| 373 | .Pa man/ | |
| 374 | directory (directly under | |
| 12340c26 SW |
375 | .Pa local/ |
| 376 | rather than under | |
| 377 | .Pa local/share/ ) , | |
| 378 | documentation (in | |
| 379 | .Pa share/doc/<app>/ ) , | |
| 380 | and | |
| 381 | .Pa /usr/local/etc | |
| 382 | .Pf ( mimics | |
| 383 | .Pa /etc ) . | |
| 984263bc | 384 | .It Pa obj/ |
| 12340c26 SW |
385 | architecture-specific target tree produced by building the |
| 386 | .Pa /usr/src | |
| 387 | tree | |
| f97cf1ca | 388 | .It Pa pkg/ |
| 28feafc7 SW |
389 | default destination directory for the |
| 390 | .Xr pkgsrc 7 | |
| 391 | collection. | |
| 12340c26 SW |
392 | Within |
| 393 | .Pa pkg/ , | |
| 394 | the general layout sketched out by | |
| f97cf1ca | 395 | .Xr hier 7 |
| 12340c26 SW |
396 | for |
| 397 | .Pa /usr | |
| 33fa2848 | 398 | should be used. |
| 59730311 SW |
399 | Exceptions are the |
| 400 | .Pa man/ | |
| 401 | directory (directly under | |
| 12340c26 SW |
402 | .Pa pkg/ |
| 403 | rather than under | |
| 404 | .Pa pkg/share/ ) , | |
| 405 | documentation (in | |
| 406 | .Pa share/doc/<pkg>/ ) , | |
| 407 | and | |
| 408 | .Pa /usr/pkg/etc | |
| 409 | .Pf ( mimics | |
| 410 | .Pa /etc ) . | |
| f97cf1ca | 411 | .It Pa pkgsrc/ |
| a161144f | 412 | The |
| 28feafc7 SW |
413 | .Xr pkgsrc 7 |
| 414 | collection (optional). | |
| 984263bc MD |
415 | .It Pa sbin/ |
| 416 | system daemons & system utilities (executed by users) | |
| 417 | .It Pa share/ | |
| 418 | architecture-independent files | |
| 419 | .Pp | |
| 52eff785 | 420 | .Bl -tag -width ".Pa groff_font/" -compact |
| 984263bc MD |
421 | .It Pa calendar/ |
| 422 | a variety of pre-fab calendar files; | |
| 423 | see | |
| 424 | .Xr calendar 1 | |
| 425 | .It Pa dict/ | |
| 426 | word lists; | |
| 427 | see | |
| 428 | .Xr look 1 | |
| 429 | .Pp | |
| 52eff785 | 430 | .Bl -tag -width ".Pa papers/" -compact |
| 984263bc MD |
431 | .It Pa web2 |
| 432 | words from Webster's 2nd International | |
| 433 | .It Pa words | |
| 434 | common words | |
| 435 | .It Pa papers/ | |
| 436 | reference databases; | |
| 437 | see | |
| 438 | .Xr refer 1 | |
| 439 | .El | |
| 440 | .Pp | |
| 20b74b68 SW |
441 | .It Pa doc/ |
| 442 | miscellaneous documentation | |
| 7b14808b | 443 | .Bl -tag -width ".Pa legal/" -compact |
| 20b74b68 SW |
444 | .It Pa legal/ |
| 445 | License files for vendor supplied firmwares | |
| 446 | .El | |
| 447 | .Pp | |
| 984263bc MD |
448 | .It Pa examples/ |
| 449 | various examples for users and programmers | |
| 450 | .It Pa games/ | |
| 451 | ASCII text files used by various games | |
| 452 | .It Pa groff_font/ | |
| 453 | device description file for device name | |
| 9fc6d562 SW |
454 | .It Pa i18n/ |
| 455 | internationalization databases; see | |
| 456 | .Xr iconv 3 | |
| 984263bc MD |
457 | .It Pa info/ |
| 458 | GNU Info hypertext system | |
| 459 | .It Pa isdn/ | |
| 460 | ISDN | |
| 461 | .It Pa libg++/ | |
| 462 | libg++'s genclass prototype/template class files | |
| 463 | .It Pa locale/ | |
| 464 | localization files; | |
| 465 | see | |
| 466 | .Xr setlocale 3 | |
| 467 | .It Pa man/ | |
| 468 | manual pages | |
| 469 | .It Pa me/ | |
| 470 | macros for use with the me macro package; | |
| 471 | see | |
| 472 | .Xr me 7 | |
| 473 | .It Pa misc/ | |
| 474 | misc system-wide ASCII text files | |
| f97cf1ca | 475 | .Pp |
| 52eff785 | 476 | .Bl -tag -width ".Pa termcap" -compact |
| 984263bc MD |
477 | .It Pa termcap |
| 478 | terminal characteristics database; | |
| 479 | see | |
| 480 | .Xr termcap 5 | |
| 481 | .El | |
| f97cf1ca | 482 | .Pp |
| 984263bc MD |
483 | .It Pa mk/ |
| 484 | templates for make; | |
| 485 | see | |
| 486 | .Xr make 1 | |
| 487 | .It Pa nls/ | |
| 488 | national language support files; | |
| 489 | see | |
| 490 | .Xr mklocale 1 | |
| 9fc6d562 SW |
491 | .It Pa openssl/ |
| 492 | .Pp | |
| 493 | .Bl -tag -width ".Pa man/" -compact | |
| 494 | .It Pa man/ | |
| 495 | OpenSSL manual pages | |
| 496 | .El | |
| 497 | .Pp | |
| 984263bc MD |
498 | .It Pa sendmail/ |
| 499 | sendmail configuration files; | |
| 500 | see | |
| 501 | .Xr sendmail 8 | |
| 502 | .It Pa skel/ | |
| 503 | example . (dot) files for new accounts | |
| 504 | .It Pa syscons/ | |
| 28feafc7 | 505 | files used by |
| 984263bc | 506 | .Xr syscons 4 |
| f97cf1ca | 507 | .Pp |
| 52eff785 | 508 | .Bl -tag -width ".Pa scrnmaps/" -compact |
| 984263bc MD |
509 | .It Pa fonts/ |
| 510 | console fonts; | |
| 511 | see | |
| 512 | .Xr vidcontrol 1 | |
| 513 | and | |
| 514 | .Xr vidfont 1 | |
| 515 | .It Pa keymaps/ | |
| 516 | console keyboard maps; | |
| 517 | see | |
| 518 | .Xr kbdcontrol 1 | |
| 519 | and | |
| 520 | .Xr kbdmap 1 | |
| 521 | .It Pa scrnmaps/ | |
| 522 | console screen maps | |
| 523 | .El | |
| f97cf1ca | 524 | .Pp |
| 984263bc MD |
525 | .It Pa tabset/ |
| 526 | tab description files for a variety of terminals; used in | |
| 527 | the termcap file; | |
| 528 | see | |
| 529 | .Xr termcap 5 | |
| 530 | .It Pa tmac/ | |
| 531 | text processing macros; | |
| 532 | see | |
| 533 | .Xr nroff 1 | |
| 534 | and | |
| 535 | .Xr troff 1 | |
| 536 | .It Pa vi/ | |
| 537 | localization support and utilities for | |
| 538 | .Xr vi 1 | |
| 539 | .It Pa zoneinfo/ | |
| 540 | timezone configuration information; | |
| 541 | see | |
| 542 | .Xr tzfile 5 | |
| 543 | .El | |
| f97cf1ca | 544 | .Pp |
| 984263bc MD |
545 | .It Pa src/ |
| 546 | .Bx , | |
| 547 | third-party, and/or local source files | |
| 548 | .Pp | |
| 32c20b8b | 549 | .Bl -tag -width ".Pa nrelease/" -compact |
| 984263bc | 550 | .It Pa bin/ |
| 12340c26 SW |
551 | source code for files in |
| 552 | .Pa /bin | |
| 984263bc MD |
553 | .It Pa contrib/ |
| 554 | source code for contributed software | |
| 555 | .It Pa crypto/ | |
| 556 | source code for contributed cryptography software | |
| 557 | .It Pa etc/ | |
| 12340c26 SW |
558 | source code for files in |
| 559 | .Pa /etc | |
| 984263bc | 560 | .It Pa games/ |
| 12340c26 SW |
561 | source code for files in |
| 562 | .Pa /usr/games | |
| 984263bc MD |
563 | .It Pa gnu/ |
| 564 | Utilities covered by the GNU General Public License | |
| 565 | .It Pa include/ | |
| 12340c26 SW |
566 | source code for files in |
| 567 | .Pa /usr/include | |
| 984263bc | 568 | .It Pa lib/ |
| 12340c26 SW |
569 | source code for files in |
| 570 | .Pa /usr/lib | |
| 984263bc | 571 | .It Pa libexec/ |
| 12340c26 SW |
572 | source code for files in |
| 573 | .Pa /usr/libexec | |
| f97cf1ca | 574 | .It Pa nrelease/ |
| 984263bc | 575 | files required to produce a |
| 9bb2a92d | 576 | .Dx |
| 984263bc MD |
577 | release |
| 578 | .It Pa sbin/ | |
| 12340c26 SW |
579 | source code for files in |
| 580 | .Pa /sbin | |
| 984263bc | 581 | .It Pa secure/ |
| 12340c26 SW |
582 | build directory for files in |
| 583 | .Pa /usr/src/crypto | |
| 984263bc | 584 | .It Pa share/ |
| 12340c26 SW |
585 | source for files in |
| 586 | .Pa /usr/share | |
| 984263bc MD |
587 | .It Pa sys/ |
| 588 | kernel source code | |
| 589 | .It Pa tools/ | |
| 590 | tools used for maintenance and testing of | |
| 9bb2a92d | 591 | .Dx |
| 984263bc | 592 | .It Pa usr.bin/ |
| 12340c26 SW |
593 | source code for files in |
| 594 | .Pa /usr/bin | |
| 984263bc | 595 | .It Pa usr.sbin/ |
| 12340c26 SW |
596 | source code for files in |
| 597 | .Pa /usr/sbin | |
| 984263bc | 598 | .El |
| 984263bc MD |
599 | .El |
| 600 | .It Pa /var/ | |
| 601 | multi-purpose log, temporary, transient, and spool files | |
| 602 | .Pp | |
| 52eff785 | 603 | .Bl -tag -width ".Pa preserve/" -compact |
| 984263bc MD |
604 | .It Pa account/ |
| 605 | system accounting files | |
| 606 | .Pp | |
| 52eff785 | 607 | .Bl -tag -width ".Pa acct" -compact |
| 984263bc MD |
608 | .It Pa acct |
| 609 | execution accounting file; | |
| 610 | see | |
| 611 | .Xr acct 5 | |
| 612 | .El | |
| 613 | .Pp | |
| 614 | .It Pa at/ | |
| 615 | timed command scheduling files; | |
| 616 | see | |
| 617 | .Xr \&at 1 | |
| f97cf1ca | 618 | .Pp |
| 52eff785 | 619 | .Bl -tag -width ".Pa spool/" -compact |
| 984263bc MD |
620 | .It Pa jobs/ |
| 621 | directory containing job files | |
| 622 | .It Pa spool/ | |
| 623 | directory containing output spool files | |
| 624 | .El | |
| 625 | .Pp | |
| 626 | .It Pa backups/ | |
| 627 | misc. backup files | |
| 628 | .It Pa crash/ | |
| 629 | default directory to store kernel crash dumps; see | |
| 630 | .Xr crash 8 | |
| 631 | and | |
| 632 | .Xr savecore 8 | |
| 633 | .It Pa cron/ | |
| 634 | files used by cron; | |
| 635 | see | |
| 636 | .Xr cron 8 | |
| f97cf1ca | 637 | .Pp |
| 52eff785 | 638 | .Bl -tag -width ".Pa tabs/" -compact |
| 984263bc MD |
639 | .It Pa tabs/ |
| 640 | crontab files; | |
| 641 | see | |
| 642 | .Xr crontab 5 | |
| 643 | .El | |
| 644 | .Pp | |
| 645 | .It Pa db/ | |
| 646 | misc. automatically generated system-specific database files | |
| 647 | .It Pa empty/ | |
| a009fae0 | 648 | empty directory used by |
| 984263bc | 649 | .Xr sshd 8 |
| a009fae0 | 650 | for privilege separation |
| 984263bc MD |
651 | .It Pa games/ |
| 652 | misc. game status and score files | |
| 5ba3877b SW |
653 | .It Pa hammer/ |
| 654 | per PFS (pseudo file system) snapshots directory for | |
| 655 | .Xr hammer 5 | |
| 656 | file systems | |
| 984263bc MD |
657 | .It Pa log/ |
| 658 | misc. system log files | |
| 659 | .Pp | |
| 52eff785 | 660 | .Bl -tag -width ".Pa wtmp" -compact |
| 984263bc MD |
661 | .It Pa wtmp |
| 662 | login/logout log; | |
| 663 | see | |
| 664 | .Xr wtmp 5 | |
| 665 | .El | |
| 666 | .Pp | |
| 667 | .It Pa mail/ | |
| 668 | user mailbox files | |
| 669 | .It Pa msgs/ | |
| 670 | system messages database; | |
| 671 | see | |
| 672 | .Xr msgs 1 | |
| 673 | .It Pa preserve/ | |
| 674 | temporary home of files preserved after an accidental death | |
| 675 | of an editor; | |
| 676 | see | |
| 677 | .Xr \&ex 1 | |
| 678 | .It Pa quotas/ | |
| 679 | filesystem quota information files | |
| 680 | .It Pa run/ | |
| 681 | system information files describing various info about | |
| 682 | system since it was booted | |
| 683 | .Pp | |
| 52eff785 | 684 | .Bl -tag -width ".Pa ppp/" -compact |
| 984263bc MD |
685 | .It Pa ppp/ |
| 686 | writable by the | |
| 687 | .Dq network | |
| 688 | group for command connection sockets; see | |
| 689 | .Xr ppp 8 | |
| 690 | .It Pa utmp | |
| 691 | database of current users; | |
| 692 | see | |
| 693 | .Xr utmp 5 | |
| 694 | .El | |
| 695 | .Pp | |
| 696 | .It Pa rwho/ | |
| 697 | rwho data files; | |
| 698 | see | |
| 699 | .Xr rwhod 8 , | |
| 700 | .Xr rwho 1 , | |
| 701 | and | |
| 702 | .Xr ruptime 1 | |
| 703 | .It Pa spool/ | |
| 704 | misc. printer and mail system spooling directories | |
| 705 | .Pp | |
| 52eff785 | 706 | .Bl -tag -width ".Pa clientmqueue/" -compact |
| 984263bc MD |
707 | .It Pa clientmqueue/ |
| 708 | undelivered submission mail queue; | |
| 709 | see | |
| 710 | .Xr sendmail 8 | |
| 3ffac315 MS |
711 | .It Pa dma/ |
| 712 | undelivered mail queue; | |
| 713 | see | |
| 714 | .Xr dma 8 | |
| 984263bc | 715 | .It Pa ftp/ |
| 12340c26 SW |
716 | commonly |
| 717 | .Pa ~ftp ; | |
| 718 | the anonymous ftp root directory | |
| 984263bc MD |
719 | .It Pa mqueue/ |
| 720 | undelivered mail queue; | |
| 721 | see | |
| 722 | .Xr sendmail 8 | |
| 723 | .It Pa output/ | |
| 724 | line printer spooling directories | |
| 725 | .It Pa uucp/ | |
| 726 | uucp spool directory | |
| 727 | .It Pa uucppublic/ | |
| 12340c26 SW |
728 | commonly |
| 729 | .Pa ~uucp ; | |
| 730 | public uucp temporary directory | |
| 984263bc MD |
731 | .El |
| 732 | .Pp | |
| 733 | .It Pa tmp/ | |
| 734 | temporary files that are kept between system reboots | |
| f97cf1ca | 735 | .Pp |
| 52eff785 | 736 | .Bl -tag -width ".Pa vi.recover/" -compact |
| 984263bc MD |
737 | .It Pa vi.recover/ |
| 738 | the directory where recovery files are stored | |
| 739 | .El | |
| f97cf1ca | 740 | .Pp |
| 984263bc MD |
741 | .It Pa yp/ |
| 742 | the NIS maps | |
| 743 | .El | |
| 744 | .El | |
| 745 | .Sh NOTES | |
| 746 | This manual page documents the default | |
| 9bb2a92d | 747 | .Dx |
| 984263bc MD |
748 | filesystem layout, but |
| 749 | the actual hierarchy on a given system is defined at the system | |
| 750 | administrator's discretion. | |
| 751 | A well-maintained installation will include a customized version of | |
| 752 | this document. | |
| 753 | .Sh SEE ALSO | |
| 754 | .Xr apropos 1 , | |
| 755 | .Xr find 1 , | |
| 756 | .Xr finger 1 , | |
| 757 | .Xr grep 1 , | |
| 758 | .Xr ls 1 , | |
| 759 | .Xr whatis 1 , | |
| 760 | .Xr whereis 1 , | |
| 761 | .Xr which 1 , | |
| 762 | .Xr fsck 8 | |
| 763 | .Sh HISTORY | |
| 764 | A | |
| 765 | .Nm | |
| 766 | manual page appeared in | |
| 767 | .At v7 . |