|
|
1.1 ! root 1: .TH HIER 7 "1 February 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: hier \- file system hierarchy ! 5: .SH DESCRIPTION ! 6: The following outline gives a quick tour through a representative ! 7: directory hierarchy. ! 8: .na ! 9: .nh ! 10: .IP / ! 11: root ! 12: .PD 0 ! 13: .IP /vmunix ! 14: the kernel binary (UNIX itself) ! 15: .IP /lost+found ! 16: directory for connecting detached files for ! 17: .IR fsck (8) ! 18: .IP /dev/ ! 19: devices (4) ! 20: .RS ! 21: .IP MAKEDEV ! 22: shell script to create special files ! 23: .IP MAKEDEV.local ! 24: site specific part of MAKEDEV ! 25: .IP console ! 26: main console, ! 27: .IR tty (4) ! 28: .IP tty* ! 29: terminals, ! 30: .IR tty (4) ! 31: .IP fsd* ! 32: disks, ! 33: .IR fsd (4) ! 34: .IP rfsd* ! 35: raw disks, ! 36: .IR fsd (4) ! 37: .IP ... ! 38: .RE ! 39: .IP /bin/ ! 40: utility programs, cf /usr/bin/ (1) ! 41: .RS ! 42: .IP as ! 43: assembler ! 44: .IP cc ! 45: C compiler executive, cf /lib/ccom, /lib/cpp, /lib/c2 ! 46: .IP csh ! 47: C shell ! 48: .IP ... ! 49: .RE ! 50: .IP /lib/ ! 51: object libraries and other stuff, cf /usr/lib/ ! 52: .RS ! 53: .IP libc.a ! 54: system calls, standard I/O, etc. (2,3,3S) ! 55: .IP ... ! 56: .IP ccom ! 57: C compiler proper ! 58: .IP cpp ! 59: C preprocessor ! 60: .IP c2 ! 61: C code improver ! 62: .IP ... ! 63: .RE ! 64: .IP /etc/ ! 65: essential data and maintenance utilities; sect (8) ! 66: .RS ! 67: .IP dump ! 68: dump program ! 69: .IR dump (8) ! 70: .IP passwd ! 71: password file, ! 72: .IR passwd (5) ! 73: .IP group ! 74: group file, ! 75: .IR group (5) ! 76: .IP motd ! 77: message of the day, ! 78: .IR login (1) ! 79: .IP termcap ! 80: description of terminal capabilities, ! 81: .IR termcap (5) ! 82: .IP ttytype ! 83: table of what kind of terminal is on each port, ! 84: .IR ttytype (5) ! 85: .IP mtab ! 86: mounted file table, ! 87: .IR mtab (5) ! 88: .IP dumpdates ! 89: dump history, ! 90: .IR dump (8) ! 91: .IP fstab ! 92: file system configuration table ! 93: .IR fstab (5) ! 94: .IP disktab ! 95: disk characteristics and partition tables, ! 96: .IR disktab (5) ! 97: .IP hosts ! 98: host name to network address mapping file, ! 99: .IR hosts (5) ! 100: .IP networks ! 101: network name to network number mapping file, ! 102: .IR networks (5) ! 103: .IP protocols ! 104: protocol name to protocol number mapping file, ! 105: .IR protocols (5) ! 106: .IP services ! 107: network services definition file, ! 108: .IR services (5) ! 109: .IP remote ! 110: names and description of remote hosts for ! 111: .IR tip (1C), ! 112: .IR remote (5) ! 113: .IP phones ! 114: private phone numbers for remote hosts, as described in ! 115: .IR phones (5) ! 116: .IP ttys ! 117: properties of terminals, ! 118: .IR ttys (5) ! 119: .IP getty ! 120: part of ! 121: .IR login , ! 122: .IR getty (8) ! 123: .IP init ! 124: the parent of all processes, ! 125: .IR init (8) ! 126: .IP rc ! 127: shell program to bring the system up ! 128: .IP rc.local ! 129: site dependent portion of ! 130: .I rc ! 131: .IP cron ! 132: the clock daemon, ! 133: .IR cron (8) ! 134: .IP mount ! 135: .IR mount (8) ! 136: .IP ... ! 137: .RE ! 138: .IP /sys/ ! 139: system source ! 140: .RS ! 141: .IP h/ ! 142: header (include) files ! 143: .RS ! 144: .IP acct.h ! 145: .IR acct (5) ! 146: .IP stat.h ! 147: .IR stat (2) ! 148: .IP ... ! 149: .RE ! 150: .IP sys/ ! 151: machine independent system source ! 152: .RS ! 153: .IP init_main.c ! 154: .IP uipc_socket.c ! 155: .IP ufs_syscalls.c ! 156: .IP ... ! 157: .RE ! 158: .IP conf/ ! 159: site configuration files ! 160: .RS ! 161: .IP GENERIC ! 162: .IP ... ! 163: .RE ! 164: .IP net/ ! 165: general network source ! 166: .IP netinet/ ! 167: DARPA Internet network source ! 168: .IP netimp/ ! 169: network code related to use of an IMP ! 170: .RS ! 171: .IP if_imp.c ! 172: .IP if_imphost.c ! 173: .IP if_imphost.h ! 174: .IP ... ! 175: .RE ! 176: .IP tahoe/ ! 177: source specific to the Tahoe ! 178: .RS ! 179: .IP locore.s ! 180: .IP machdep.c ! 181: .IP ... ! 182: .RE ! 183: .IP vba/ ! 184: device drivers for hardware which resides on the VERSABUS ! 185: .RS ! 186: .IP vddc.c ! 187: .IP cy.c ! 188: .IP vioc.c ! 189: .IP ... ! 190: .RE ! 191: .IP /tmp/ ! 192: temporary files, usually on a fast device, cf /usr/tmp/ ! 193: .RS ! 194: .IP e* ! 195: used by ! 196: .IR ed (1) ! 197: .IP ctm* ! 198: used by ! 199: .IR cc (1) ! 200: .IP ... ! 201: .RE ! 202: .IP /usr/ ! 203: general-pupose directory, usually a mounted file system ! 204: .RS ! 205: .IP adm/ ! 206: administrative information ! 207: .RS ! 208: .IP wtmp ! 209: login history, ! 210: .IR utmp (5) ! 211: .IP messages ! 212: hardware error messages ! 213: .IP tracct ! 214: phototypesetter accounting, ! 215: .IR troff (1) ! 216: .IP lpacct ! 217: line printer accounting ! 218: .IR lpr (1) ! 219: .IP "vaacct, vpacct" ! 220: varian and versatec accounting ! 221: .IR vpr (1), ! 222: .IR vtroff (1), ! 223: .IR pac (8) ! 224: .RE ! 225: .RE ! 226: .IP /usr\t/bin ! 227: .RS ! 228: utility programs, to keep /bin/ small ! 229: .IP tmp/ ! 230: temporaries, to keep /tmp/ small ! 231: .RS ! 232: .IP stm* ! 233: used by ! 234: .IR sort (1) ! 235: .IP dict/ ! 236: word lists, etc. ! 237: .RS ! 238: .IP words ! 239: principal word list, used by ! 240: .IR look (1) ! 241: .IP spellhist ! 242: history file for ! 243: .IR spell (1) ! 244: .RE ! 245: .IP ... ! 246: .RE ! 247: .IP include/ ! 248: standard #include files ! 249: .RS ! 250: .IP a.out.h ! 251: object file layout, ! 252: .IR a.out (5) ! 253: .IP stdio.h ! 254: standard I/O, ! 255: .IR intro (3S) ! 256: .IP math.h ! 257: (3M) ! 258: .IP ... ! 259: .IP sys/ ! 260: system-defined layouts, cf /sys/h ! 261: .IP net/ ! 262: symbolic link to sys/net ! 263: .IP machine/ ! 264: symbolic link to sys/machine ! 265: .IP ... ! 266: .RE ! 267: .IP lib/ ! 268: object libraries and stuff, to keep /lib/ small ! 269: .RS ! 270: .IP atrun ! 271: scheduler for ! 272: .IR at (1) ! 273: .IP lint/ ! 274: utility files for lint ! 275: .RS ! 276: .IP lint[12] ! 277: subprocesses for ! 278: .IR lint (1) ! 279: .IP llib-lc ! 280: dummy declarations for /lib/libc.a, used by ! 281: .IR lint (1) ! 282: .IP llib-lm ! 283: dummy declarations for /lib/libc.m ! 284: .IP ... ! 285: .RE ! 286: .IP struct/ ! 287: passes of ! 288: .IR struct (1) ! 289: .IP ... ! 290: .IP tmac/ ! 291: macros for ! 292: .IR troff (1) ! 293: .RS ! 294: .IP tmac.an ! 295: macros for ! 296: .IR man (7) ! 297: .IP tmac.s ! 298: macros for ! 299: .IR ms (7) ! 300: .IP ... ! 301: .RE ! 302: .IP font/ ! 303: fonts for ! 304: .IR troff (1) ! 305: .RS ! 306: .IP ftR ! 307: Times Roman ! 308: .IP ftB ! 309: Times Bold ! 310: .IP ... ! 311: .RE ! 312: .IP uucp/ ! 313: programs and data for ! 314: .IR uucp (1C) ! 315: .RS ! 316: .IP L.sys ! 317: remote system names and numbers ! 318: .IP uucico ! 319: the real copy program ! 320: .IP ... ! 321: .RE ! 322: .IP units ! 323: conversion tables for ! 324: .IR units (1) ! 325: .IP eign ! 326: list of English words to be ignored by ! 327: .IR ptx (1) ! 328: .RE ! 329: .RE ! 330: .br ! 331: .ne 5 ! 332: .IP /usr/\tman/ ! 333: .RS ! 334: volume 1 of this manual, ! 335: .IR man (1) ! 336: .RS ! 337: .IP man0/ ! 338: general ! 339: .RS ! 340: .IP intro ! 341: introduction to volume 1, ! 342: .IR ms (7) ! 343: format ! 344: .IP xx ! 345: template for manual page ! 346: .RE ! 347: .IP man1/ ! 348: chapter 1 ! 349: .RS ! 350: .IP as.1 ! 351: .IP mount.1m ! 352: .IP ... ! 353: .RE ! 354: .IP ... ! 355: .IP cat1/ ! 356: preformatted pages for section 1 ! 357: .IP ... ! 358: .RE ! 359: .IP msgs/ ! 360: messages, cf ! 361: .IR msgs (1) ! 362: .RS ! 363: .IP bounds ! 364: highest and lowest message ! 365: .RE ! 366: .IP new/ ! 367: binaries of new versions of programs ! 368: .IP preserve/ ! 369: editor temporaries preserved here after crashes/hangups ! 370: .IP public/ ! 371: binaries of user programs - write permission to everyone ! 372: .IP spool/ ! 373: delayed execution files ! 374: .RS ! 375: .IP at/ ! 376: used by ! 377: .IR at (1) ! 378: .IP lpd/ ! 379: used by ! 380: .IR lpr (1) ! 381: .RS ! 382: .IP lock ! 383: present when line printer is active ! 384: .IP cf* ! 385: copy of file to be printed, if necessary ! 386: .IP df* ! 387: daemon control file, ! 388: .IR lpd (8) ! 389: .IP tf* ! 390: transient control file, while ! 391: .I lpr ! 392: is working ! 393: .RE ! 394: .IP uucp/ ! 395: work files and staging area for ! 396: .IR uucp (1C) ! 397: .RS ! 398: .IP LOGFILE ! 399: summary log ! 400: .IP LOG.* ! 401: log file for one transaction ! 402: .RE ! 403: .IP mail/ ! 404: mailboxes for ! 405: .IR mail (1) ! 406: .RS ! 407: .TP ! 408: .I name ! 409: mail file for user ! 410: .I name ! 411: .TP ! 412: .IR name .lock ! 413: lock file while ! 414: .I name ! 415: is receiving mail ! 416: .RE ! 417: .IP secretmail/ ! 418: like ! 419: .IR mail / ! 420: .IP uucp/ ! 421: work files and staging area for ! 422: .IR uucp (1C) ! 423: .RS ! 424: .IP LOGFILE ! 425: summary log ! 426: .IP LOG.* ! 427: log file for one transaction ! 428: .IP mqueue/ ! 429: mail queue for ! 430: .IR sendmail (8) ! 431: .RE ! 432: .RE ! 433: .TP ! 434: .I wd ! 435: initial working directory of a user, ! 436: typically ! 437: .I wd ! 438: is the user's login name ! 439: .RS ! 440: .TP ! 441: .BR . profile ! 442: set environment for ! 443: .IR sh (1), ! 444: .IR environ (7) ! 445: .TP ! 446: .BR . project ! 447: what you are doing (used by ( ! 448: .IR finger (1) ! 449: ) ! 450: .TP ! 451: .BR . cshrc ! 452: startup file for ! 453: .IR csh (1) ! 454: .TP ! 455: .BR . exrc ! 456: startup file for ! 457: .IR ex (1) ! 458: .TP ! 459: .BR . plan ! 460: what your short-term plans are (used by ! 461: .IR finger (1) ! 462: ) ! 463: .TP ! 464: .BR . netrc ! 465: startup file for various network programs ! 466: .TP ! 467: .BR . msgsrc ! 468: startup file for ! 469: .IR msgs (1) ! 470: .TP ! 471: .BR . mailrc ! 472: startup file for ! 473: .IR mail (1) ! 474: .IP calendar ! 475: user's datebook for ! 476: .IR calendar (1) ! 477: .RE ! 478: .IP doc/ ! 479: papers, mostly in volume 2 of this manual, typically in ! 480: .IR ms (7) ! 481: format ! 482: .RS ! 483: .IP as/ ! 484: assembler manual ! 485: .IP c ! 486: C manual ! 487: .IP ... ! 488: .RE ! 489: .RE ! 490: .RE ! 491: .IP /usr/\tsrc/ ! 492: .RS ! 493: .IP ! 494: source programs for utilities, etc. ! 495: .RS ! 496: .IP bin/ ! 497: source of commands in /bin ! 498: .RS ! 499: .IP as/ ! 500: assembler ! 501: .IP ar.c ! 502: source for ! 503: .IR ar (1) ! 504: .IP ... ! 505: .RE ! 506: .IP usr.bin/ ! 507: source for commands in /usr/bin ! 508: .RS ! 509: .IP troff/ ! 510: source for ! 511: .I nroff ! 512: and ! 513: .IR troff (1) ! 514: .RS ! 515: .IP font/ ! 516: source for font tables, /usr/lib/font/ ! 517: .RS ! 518: .IP ftR.c ! 519: Roman ! 520: .IP ... ! 521: .RE ! 522: .IP term/ ! 523: terminal characteristics tables, /usr/lib/term/ ! 524: .RS ! 525: .IP tab300.c ! 526: DASI 300 ! 527: .IP ... ! 528: .RE ! 529: .IP ... ! 530: .RE ! 531: .RE ! 532: .IP ucb ! 533: source for programs in /usr/ucb ! 534: .IP lib/ ! 535: source for programs and archives in /lib ! 536: .RS ! 537: .IP libc/ ! 538: C runtime library ! 539: .RS ! 540: .IP csu/ ! 541: startup and wrapup routines needed with every C program ! 542: .RS ! 543: .IP crt0.s ! 544: regular startup ! 545: .IP mcrt0.s ! 546: modified startup for ! 547: .I cc \-p ! 548: .RE ! 549: .IP sys/ ! 550: system calls (2) ! 551: .RS ! 552: .IP access.s ! 553: .IP brk.s ! 554: .IP ... ! 555: .RE ! 556: .RE ! 557: .IP stdio/ ! 558: standard I/O functions (3S) ! 559: .RS ! 560: .IP fgets.c ! 561: .IP fopen.c ! 562: .IP ... ! 563: .RE ! 564: .IP gen/ ! 565: other functions in (3) ! 566: .RS ! 567: .IP abs.c ! 568: .IP ... ! 569: .RE ! 570: .IP net/ ! 571: network functions in (3N) ! 572: .RS ! 573: .IP gethostbyname.c ! 574: .IP ... ! 575: .RE ! 576: .RE ! 577: .IP local/ ! 578: source which isn't normally distributed ! 579: .IP new/ ! 580: source for new versions of commands and library routines ! 581: .IP old/ ! 582: source for old versions of commands and library routines ! 583: .IP ucb/ ! 584: binaries of programs developed at UCB ! 585: .RS ! 586: .IP ... ! 587: .IP edit ! 588: editor for beginners ! 589: .IP ex ! 590: command editor for experienced users ! 591: .IP ... ! 592: .IP mail ! 593: mail reading/sending subsystem ! 594: .IP man ! 595: on line documentation ! 596: .IP ... ! 597: .IP pi ! 598: Pascal translator ! 599: .IP px ! 600: Pascal interpreter ! 601: .IP ... ! 602: .IP vi ! 603: visual editor ! 604: .RE ! 605: .RE ! 606: .ad ! 607: .SH SEE ALSO ! 608: ls(1), ! 609: apropos(1), ! 610: whatis(1), ! 611: whereis(1), ! 612: finger(1), ! 613: which(1), ! 614: ncheck(8), ! 615: find(1), ! 616: grep(1) ! 617: .SH BUGS ! 618: The position of files is subject to change without notice.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.