|
|
1.1 ! root 1: .TH HIER 7 ! 2: .SH NAME ! 3: hier \- file system hierarchy ! 4: .SH DESCRIPTION ! 5: The following outline gives a quick tour through ! 6: a representative directory hierarchy. ! 7: .na ! 8: .nh ! 9: .IP / ! 10: root ! 11: .PD 0 ! 12: .IP /vmunix ! 13: the kernel binary (UNIX itself) ! 14: .IP /lost+found ! 15: directory for connecting detached files for ! 16: .IR fsck (8) ! 17: .IP /dev/ ! 18: devices (4) ! 19: .RS ! 20: .IP console ! 21: main console, ! 22: .IR ttyld (4) ! 23: .IP tty* ! 24: terminals, ! 25: .IR ttyld (4) ! 26: .IP ra* ! 27: disks, ! 28: .IR ra (4) ! 29: .IP rra* ! 30: raw disks, ! 31: .IR ra (4) ! 32: .IP ... ! 33: .RE ! 34: .IP /bin/ ! 35: utility programs, cf /usr/bin/ (1) ! 36: .RS ! 37: .IP as ! 38: assembler ! 39: .IP cc ! 40: C compiler executive, ! 41: cf /lib/ccom, /lib/cpp, /lib/c2 ! 42: .IP csh ! 43: C shell ! 44: .IP ... ! 45: .RE ! 46: .IP /lib/ ! 47: object libraries and other stuff, cf /usr/lib/ ! 48: .RS ! 49: .IP libc.a ! 50: system calls, standard I/O, etc. (2,3,3S) ! 51: .IP ... ! 52: .IP ccom ! 53: C compiler proper ! 54: .IP cpp ! 55: C preprocessor ! 56: .IP c2 ! 57: C code improver ! 58: .IP ... ! 59: .RE ! 60: .IP /etc/ ! 61: essential data and maintenance utilities; ! 62: sect (8) ! 63: .RS ! 64: .IP dump ! 65: dump program ! 66: .IR dump (8) ! 67: .IP passwd ! 68: password file, ! 69: .IR passwd (5) ! 70: .IP group ! 71: group file, ! 72: .IR group (5) ! 73: .IP motd ! 74: message of the day, ! 75: .IR login (8) ! 76: .IP whoami ! 77: system name, ! 78: .IR uname (3) ! 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 configurtion table ! 93: .IR fstab (5) ! 94: .IP ttys ! 95: properties of terminals, ! 96: .IR ttys (5) ! 97: .IP getty ! 98: part of ! 99: .IR login , ! 100: .IR getty (8) ! 101: .IP init ! 102: the parent of all processes, ! 103: .IR init (8) ! 104: .IP rc ! 105: shell program to bring the system up ! 106: .IP cron ! 107: the clock daemon, ! 108: .IR cron (8) ! 109: .IP mount ! 110: .IR mount (8) ! 111: .IP wall ! 112: .IR wall (1) ! 113: .IP ... ! 114: .RE ! 115: .IP /tmp/ ! 116: temporary files, usually on a fast device, cf /usr/tmp/ ! 117: .RS ! 118: .IP e* ! 119: used by ! 120: .IR ed (1) ! 121: .IP ctm* ! 122: used by ! 123: .IR cc (1) ! 124: .IP ... ! 125: .RE ! 126: .IP /usr/ ! 127: general-pupose directory, usually a mounted file system ! 128: .RS ! 129: .IP adm/ ! 130: administrative information ! 131: .RS ! 132: .IP wtmp ! 133: login history, ! 134: .IR utmp (5) ! 135: .IP messages ! 136: hardware error messages ! 137: .IP tracct ! 138: phototypesetter accounting, ! 139: .IR troff (1) ! 140: .IP lpacct ! 141: line printer accounting ! 142: .IR lpr (1) ! 143: .RE ! 144: .RE ! 145: .IP /usr\t/bin ! 146: .RS ! 147: utility programs, to keep /bin/ small ! 148: .IP tmp/ ! 149: temporaries, to keep /tmp/ small ! 150: .RS ! 151: .IP stm* ! 152: used by ! 153: .IR sort (1) ! 154: .IP raster ! 155: used by ! 156: .IR plot (1) ! 157: .RE ! 158: .IP dict/ ! 159: word lists, etc. ! 160: .RS ! 161: .IP words ! 162: principal word list, used by ! 163: .IR look (1) ! 164: .IP spellhist ! 165: history file for ! 166: .IR spell (1) ! 167: .RE ! 168: .IP games/ ! 169: .RS ! 170: .IP hangman ! 171: .IP lib/ ! 172: library of stuff for the games ! 173: .RS ! 174: .IP quiz.k/ ! 175: what ! 176: .IR quiz (6) ! 177: knows ! 178: .RS ! 179: .IP index ! 180: category index ! 181: .IP africa ! 182: countries and capitals ! 183: .IP ... ! 184: .RE ! 185: .IP ... ! 186: .RE ! 187: .IP ... ! 188: .RE ! 189: .IP include/ ! 190: standard #include files ! 191: .RS ! 192: .IP a.out.h ! 193: object file layout, ! 194: .IR a.out (5) ! 195: .IP stdio.h ! 196: standard I/O, ! 197: .IR stdio (3) ! 198: .IP math.h ! 199: (3M) ! 200: .IP ... ! 201: .IP sys/ ! 202: system-defined layouts, cf /usr/sys/h ! 203: .RE ! 204: .IP lib/ ! 205: object libraries and stuff, to keep /lib/ small ! 206: .RS ! 207: .IP atrun ! 208: scheduler for ! 209: .IR at (1) ! 210: .IP lint/ ! 211: utility files for lint ! 212: .RS ! 213: .IP lint[12] ! 214: subprocesses for ! 215: .IR lint (1) ! 216: .IP llib-lc ! 217: dummy declarations for /lib/libc.a, used by ! 218: .IR lint (1) ! 219: .IP llib-lm ! 220: dummy declarations for /lib/libc.m ! 221: .IP ... ! 222: .RE ! 223: .IP struct/ ! 224: passes of ! 225: .IR struct (1) ! 226: .IP ... ! 227: .IP tmac/ ! 228: macros for ! 229: .IR troff (1) ! 230: .RS ! 231: .IP tmac.an ! 232: macros for ! 233: .IR man (7) ! 234: .IP tmac.s ! 235: macros for ! 236: .IR ms (7) ! 237: .IP ... ! 238: .RE ! 239: .IP font/ ! 240: fonts for ! 241: .IR troff (1) ! 242: .RS ! 243: .IP ftR ! 244: Times Roman ! 245: .IP ftB ! 246: Times Bold ! 247: .IP ... ! 248: .RE ! 249: .IP uucp/ ! 250: programs and data for ! 251: .IR uucp (1) ! 252: .RS ! 253: .IP L.sys ! 254: remote system names and numbers ! 255: .IP uucico ! 256: the real copy program ! 257: .IP ... ! 258: .RE ! 259: .IP units ! 260: conversion tables for ! 261: .IR units (7) ! 262: .IP eign ! 263: list of English words to be ignored by ! 264: .IR ptx (1) ! 265: .RE ! 266: .RE ! 267: .br ! 268: .ne 5 ! 269: .IP /usr/\tman/ ! 270: .RS ! 271: volume 1 of this manual, ! 272: .IR man (1) ! 273: .RS ! 274: .IP man0/ ! 275: general ! 276: .RS ! 277: .IP intro ! 278: introduction to volume 1, ! 279: .IR ms (7) ! 280: format ! 281: .IP xx ! 282: template for manual page ! 283: .RE ! 284: .IP man1/ ! 285: chapter 1 ! 286: .RS ! 287: .IP as.1 ! 288: .IP mount.1m ! 289: .IP ... ! 290: .RE ! 291: .IP ... ! 292: .IP cat1/ ! 293: preformatted pages for section 1 ! 294: .IP ... ! 295: .RE ! 296: .IP spool/ ! 297: delayed execution files ! 298: .RS ! 299: .IP at/ ! 300: used by ! 301: .IR at (1) ! 302: .IP lpd/ ! 303: used by ! 304: .IR lpr (1) ! 305: .RS ! 306: .IP lock ! 307: present when line printer is active ! 308: .IP cf* ! 309: copy of file to be printed, if necessary ! 310: .IP df* ! 311: daemon control file, ! 312: .IR lpd (8) ! 313: .IP tf* ! 314: transient control file, while ! 315: .I lpr ! 316: is working ! 317: .RE ! 318: .IP uucp/ ! 319: work files and staging area for ! 320: .IR uucp (1) ! 321: .RS ! 322: .IP LOGFILE ! 323: summary log ! 324: .IP LOG.* ! 325: log file for one transaction ! 326: .RE ! 327: .IP mail/ ! 328: mailboxes for ! 329: .IR mail (1) ! 330: .RS ! 331: .TP ! 332: .I name ! 333: mail file for user ! 334: .I name ! 335: .TP ! 336: .IR name .lock ! 337: lock file while ! 338: .I name ! 339: is receiving mail ! 340: .RE ! 341: .IP secretmail/ ! 342: like ! 343: .IR mail / ! 344: .IP uucp/ ! 345: work files and staging area for ! 346: .IR uucp (1) ! 347: .RS ! 348: .IP LOGFILE ! 349: summary log ! 350: .IP LOG.* ! 351: log file for one transaction ! 352: .RE ! 353: .RE ! 354: .TP ! 355: .I wd ! 356: initial working directory of a user, ! 357: typically ! 358: .I wd ! 359: is the user's login name ! 360: .RS ! 361: .TP ! 362: .BR . profile ! 363: set environment for ! 364: .IR sh (1), ! 365: .IR environ (5) ! 366: .TP ! 367: calendar ! 368: user's datebook for ! 369: .IR calendar (1) ! 370: .RE ! 371: .IP doc/ ! 372: papers, mostly in volume 2 of this manual, typically in ! 373: .IR ms (7) ! 374: format ! 375: .RS ! 376: .IP as/ ! 377: assembler manual ! 378: .IP c ! 379: C manual ! 380: .IP ... ! 381: .RE ! 382: .RE ! 383: .RE ! 384: .IP /usr/\tsrc/ ! 385: .RS ! 386: .IP ! 387: source programs for utilities, etc. ! 388: .RS ! 389: .IP cmd/ ! 390: source of commands ! 391: .RS ! 392: .IP as/ ! 393: assembler ! 394: .IP ar.c ! 395: source for ! 396: .IR ar (1) ! 397: .IP ... ! 398: .IP troff/ ! 399: source for ! 400: .I nroff ! 401: and ! 402: .IR troff (1) ! 403: .RS ! 404: .IP font/ ! 405: source for font tables, /usr/lib/font/ ! 406: .RS ! 407: .IP ftR.c ! 408: Roman ! 409: .IP ... ! 410: .RE ! 411: .IP term/ ! 412: terminal characteristics tables, /usr/lib/term/ ! 413: .RS ! 414: .IP tab300.c ! 415: DASI 300 ! 416: .IP ... ! 417: .RE ! 418: .IP ... ! 419: .RE ! 420: .RE ! 421: .IP games/ ! 422: source for /usr/games ! 423: .IP libc/ ! 424: source for functions in /lib/libc.a ! 425: .RS ! 426: .IP crt/ ! 427: C runtime support ! 428: .IP csu/ ! 429: startup and wrapup routines needed with every C program ! 430: .RS ! 431: .IP crt0.s ! 432: regular startup ! 433: .IP mcrt0.s ! 434: modified startup for ! 435: .I cc \-p ! 436: .RE ! 437: .IP sys/ ! 438: system calls (2) ! 439: .RS ! 440: .IP access.s ! 441: .IP alarm.s ! 442: .IP ... ! 443: .RE ! 444: .IP stdio/ ! 445: standard I/O functions (3S) ! 446: .RS ! 447: .IP fgets.c ! 448: .IP fopen.c ! 449: .IP ... ! 450: .RE ! 451: .IP gen/ ! 452: other functions in (3) ! 453: .RS ! 454: .IP abs.c ! 455: .IP ... ! 456: .RE ! 457: .RE ! 458: .IP local/ ! 459: source which isn't normally distributed ! 460: .IP new/ ! 461: source for new versions of commands and library routines ! 462: .IP old/ ! 463: source for old versions of commands and library routines ! 464: .IP sys/ ! 465: system source ! 466: .RS ! 467: .IP h/ ! 468: header (include) files ! 469: .RS ! 470: .IP acct.h ! 471: .IR acct (5) ! 472: .IP stat.h ! 473: .IR stat (2) ! 474: .IP ... ! 475: .RE ! 476: .IP sys/ ! 477: system source proper ! 478: .RS ! 479: .IP main.c ! 480: .IP pipe.c ! 481: .IP sysent.c ! 482: system entry points ! 483: .RE ! 484: .RE ! 485: .RE ! 486: .IP ucb/ ! 487: binaries of programs developed at UCB ! 488: .RS ! 489: .IP ... ! 490: .IP edit ! 491: editor for beginners ! 492: .IP ex ! 493: command editor for experienced users ! 494: .IP ... ! 495: .IP mail ! 496: mail reading/sending subsystem ! 497: .IP man ! 498: on line documentation ! 499: .IP ... ! 500: .IP pi ! 501: Pascal translator ! 502: .IP px ! 503: Pascal interpreter ! 504: .IP ... ! 505: .IP vi ! 506: visual editor ! 507: .RE ! 508: .RE ! 509: .ad ! 510: .SH SEE ALSO ! 511: .IR ls (1), ! 512: .IR du (1), ! 513: .IR icheck (8), ! 514: .IR find (1), ! 515: .IR grep (1) ! 516: .SH BUGS ! 517: 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.