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