Commit | Line | Data |
---|---|---|
ff5df15a C |
1 | |
2 | ||
3 | ||
4 | HIER(7) UNIX Programmer's Manual HIER(7) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | hier - file system hierarchy | |
10 | ||
11 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
12 | The following outline gives a quick tour through a represen- | |
13 | tative directory hierarchy. | |
14 | ||
15 | / root | |
16 | /vmunix | |
17 | the kernel binary (UNIX itself) | |
18 | /lost+found | |
19 | directory for connecting detached files for _\bf_\bs_\bc_\bk(8) | |
20 | /dev/ | |
21 | devices (4) | |
22 | MAKEDEV | |
23 | shell script to create special files | |
24 | MAKEDEV.local | |
25 | site specific part of MAKEDEV | |
26 | console | |
27 | main console, _\bt_\bt_\by(4) | |
28 | tty* terminals, _\bt_\bt_\by(4) | |
29 | hp* disks, _\bh_\bp(4) | |
30 | rhp* raw disks, _\bh_\bp(4) | |
31 | up* UNIBUS disks _\bu_\bp(4) | |
32 | ... | |
33 | /bin/ | |
34 | utility programs, cf /usr/bin/ (1) | |
35 | as assembler | |
36 | cc C compiler executive, cf /lib/ccom, /lib/cpp, | |
37 | /lib/c2 | |
38 | csh C shell | |
39 | ... | |
40 | /lib/ | |
41 | object libraries and other stuff, cf /usr/lib/ | |
42 | libc.a | |
43 | system calls, standard I/O, etc. (2,3,3S) | |
44 | ... | |
45 | ccom C compiler proper | |
46 | cpp C preprocessor | |
47 | c2 C code improver | |
48 | ... | |
49 | /etc/ | |
50 | essential data and maintenance utilities; sect (8) | |
51 | dump dump program _\bd_\bu_\bm_\bp(8) | |
52 | passwd | |
53 | password file, _\bp_\ba_\bs_\bs_\bw_\bd(5) | |
54 | group | |
55 | group file, _\bg_\br_\bo_\bu_\bp(5) | |
56 | motd message of the day, _\bl_\bo_\bg_\bi_\bn(1) | |
57 | termcap | |
58 | description of terminal capabilities, _\bt_\be_\br_\bm_\bc_\ba_\bp(5) | |
59 | ttytype | |
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 May 20, 1985 1 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | HIER(7) UNIX Programmer's Manual HIER(7) | |
71 | ||
72 | ||
73 | ||
74 | table of what kind of terminal is on each port, | |
75 | _\bt_\bt_\by_\bt_\by_\bp_\be(5) | |
76 | mtab mounted file table, _\bm_\bt_\ba_\bb(5) | |
77 | dumpdates | |
78 | dump history, _\bd_\bu_\bm_\bp(8) | |
79 | fstab | |
80 | file system configuration table _\bf_\bs_\bt_\ba_\bb(5) | |
81 | disktab | |
82 | disk characteristics and partition tables, | |
83 | _\bd_\bi_\bs_\bk_\bt_\ba_\bb(5) | |
84 | hosts | |
85 | host name to network address mapping file, | |
86 | _\bh_\bo_\bs_\bt_\bs(5) | |
87 | networks | |
88 | network name to network number mapping file, | |
89 | _\bn_\be_\bt_\bw_\bo_\br_\bk_\bs(5) | |
90 | protocols | |
91 | protocol name to protocol number mapping file, | |
92 | _\bp_\br_\bo_\bt_\bo_\bc_\bo_\bl_\bs(5) | |
93 | services | |
94 | network services definition file, _\bs_\be_\br_\bv_\bi_\bc_\be_\bs(5) | |
95 | remote | |
96 | names and description of remote hosts for _\bt_\bi_\bp(1C), | |
97 | _\br_\be_\bm_\bo_\bt_\be(5) | |
98 | phones | |
99 | private phone numbers for remote hosts, as | |
100 | described in _\bp_\bh_\bo_\bn_\be_\bs(5) | |
101 | ttys properties of terminals, _\bt_\bt_\by_\bs(5) | |
102 | getty | |
103 | part of _\bl_\bo_\bg_\bi_\bn, _\bg_\be_\bt_\bt_\by(8) | |
104 | init the parent of all processes, _\bi_\bn_\bi_\bt(8) | |
105 | rc shell program to bring the system up | |
106 | rc.local | |
107 | site dependent portion of _\br_\bc | |
108 | cron the clock daemon, _\bc_\br_\bo_\bn(8) | |
109 | mount | |
110 | _\bm_\bo_\bu_\bn_\bt(8) | |
111 | ... | |
112 | /sys/ | |
113 | system source | |
114 | h/ header (include) files | |
115 | acct.h | |
116 | _\ba_\bc_\bc_\bt(5) | |
117 | stat.h | |
118 | _\bs_\bt_\ba_\bt(2) | |
119 | ... | |
120 | sys/ machine independent system source | |
121 | init_main.c | |
122 | uipc_socket.c | |
123 | ufs_syscalls.c | |
124 | ... | |
125 | conf/ | |
126 | ||
127 | ||
128 | ||
129 | Printed 7/9/88 May 20, 1985 2 | |
130 | ||
131 | ||
132 | ||
133 | ||
134 | ||
135 | ||
136 | HIER(7) UNIX Programmer's Manual HIER(7) | |
137 | ||
138 | ||
139 | ||
140 | site configuration files | |
141 | GENERIC | |
142 | ... | |
143 | net/ general network source | |
144 | netinet/ | |
145 | DARPA Internet network source | |
146 | netimp/ | |
147 | network code related to use of an IMP | |
148 | if_imp.c | |
149 | if_imphost.c | |
150 | if_imphost.h | |
151 | ... | |
152 | vax/ source specific to the VAX | |
153 | locore.s | |
154 | machdep.c | |
155 | ... | |
156 | vaxuba/ | |
157 | device drivers for hardware which resides on the | |
158 | UNIBUS | |
159 | uba.c | |
160 | dh.c | |
161 | up.c | |
162 | ... | |
163 | vaxmba/ | |
164 | device drivers for hardware which resides on the | |
165 | MASBUS | |
166 | mba.c | |
167 | hp.c | |
168 | ht.c | |
169 | ... | |
170 | vaxif | |
171 | network interface drivers for the VAX | |
172 | if_en.c | |
173 | if_ec.c | |
174 | if_vv.c | |
175 | ... | |
176 | /tmp/ | |
177 | temporary files, usually on a fast device, cf /usr/tmp/ | |
178 | e* used by _\be_\bd(1) | |
179 | ctm* used by _\bc_\bc(1) | |
180 | ... | |
181 | /usr/ | |
182 | general-pupose directory, usually a mounted file system | |
183 | adm/ administrative information | |
184 | wtmp login history, _\bu_\bt_\bm_\bp(5) | |
185 | messages | |
186 | hardware error messages | |
187 | tracct | |
188 | phototypesetter accounting, _\bt_\br_\bo_\bf_\bf(1) | |
189 | lpacct | |
190 | line printer accounting _\bl_\bp_\br(1) | |
191 | vaacct, vpacct | |
192 | ||
193 | ||
194 | ||
195 | Printed 7/9/88 May 20, 1985 3 | |
196 | ||
197 | ||
198 | ||
199 | ||
200 | ||
201 | ||
202 | HIER(7) UNIX Programmer's Manual HIER(7) | |
203 | ||
204 | ||
205 | ||
206 | varian and versatec accounting _\bv_\bp_\br(1), | |
207 | _\bv_\bt_\br_\bo_\bf_\bf(1), _\bp_\ba_\bc(8) | |
208 | /usr /bin | |
209 | utility programs, to keep /bin/ small | |
210 | tmp/ temporaries, to keep /tmp/ small | |
211 | stm* used by _\bs_\bo_\br_\bt(1) | |
212 | raster | |
213 | used by _\bp_\bl_\bo_\bt(1G) | |
214 | dict/ | |
215 | word lists, etc. | |
216 | words | |
217 | principal word list, used by _\bl_\bo_\bo_\bk(1) | |
218 | spellhist | |
219 | history file for _\bs_\bp_\be_\bl_\bl(1) | |
220 | games/ | |
221 | hangman | |
222 | lib/ library of stuff for the games | |
223 | quiz.k/ | |
224 | what _\bq_\bu_\bi_\bz(6) knows | |
225 | index | |
226 | category index | |
227 | africa | |
228 | countries and capitals | |
229 | ... | |
230 | ... | |
231 | ... | |
232 | include/ | |
233 | standard #include files | |
234 | a.out.h | |
235 | object file layout, _\ba._\bo_\bu_\bt(5) | |
236 | stdio.h | |
237 | standard I/O, _\bi_\bn_\bt_\br_\bo(3S) | |
238 | math.h | |
239 | (3M) | |
240 | ... | |
241 | sys/ system-defined layouts, cf /sys/h | |
242 | net/ symbolic link to sys/net | |
243 | machine/ | |
244 | symbolic link to sys/machine | |
245 | ... | |
246 | lib/ object libraries and stuff, to keep /lib/ small | |
247 | atrun | |
248 | scheduler for _\ba_\bt(1) | |
249 | lint/ | |
250 | utility files for lint | |
251 | lint[12] | |
252 | subprocesses for _\bl_\bi_\bn_\bt(1) | |
253 | llib-lc | |
254 | dummy declarations for /lib/libc.a, used | |
255 | by _\bl_\bi_\bn_\bt(1) | |
256 | llib-lm | |
257 | dummy declarations for /lib/libc.m | |
258 | ||
259 | ||
260 | ||
261 | Printed 7/9/88 May 20, 1985 4 | |
262 | ||
263 | ||
264 | ||
265 | ||
266 | ||
267 | ||
268 | HIER(7) UNIX Programmer's Manual HIER(7) | |
269 | ||
270 | ||
271 | ||
272 | ... | |
273 | struct/ | |
274 | passes of _\bs_\bt_\br_\bu_\bc_\bt(1) | |
275 | ... | |
276 | tmac/ | |
277 | macros for _\bt_\br_\bo_\bf_\bf(1) | |
278 | tmac.an | |
279 | macros for _\bm_\ba_\bn(7) | |
280 | tmac.s | |
281 | macros for _\bm_\bs(7) | |
282 | ... | |
283 | font/ | |
284 | fonts for _\bt_\br_\bo_\bf_\bf(1) | |
285 | ftR Times Roman | |
286 | ftB Times Bold | |
287 | ... | |
288 | uucp/ | |
289 | programs and data for _\bu_\bu_\bc_\bp(1C) | |
290 | L.sys | |
291 | remote system names and numbers | |
292 | uucico | |
293 | the real copy program | |
294 | ... | |
295 | units | |
296 | conversion tables for _\bu_\bn_\bi_\bt_\bs(1) | |
297 | eign list of English words to be ignored by _\bp_\bt_\bx(1) | |
298 | /usr/ man/ | |
299 | volume 1 of this manual, _\bm_\ba_\bn(1) | |
300 | man0/ | |
301 | general | |
302 | intro | |
303 | introduction to volume 1, _\bm_\bs(7) format | |
304 | xx template for manual page | |
305 | man1/ | |
306 | chapter 1 | |
307 | as.1 | |
308 | mount.1m | |
309 | ... | |
310 | ... | |
311 | cat1/ | |
312 | preformatted pages for section 1 | |
313 | ... | |
314 | msgs/ | |
315 | messages, cf _\bm_\bs_\bg_\bs(1) | |
316 | bounds | |
317 | highest and lowest message | |
318 | new/ binaries of new versions of programs | |
319 | preserve/ | |
320 | editor temporaries preserved here after | |
321 | crashes/hangups | |
322 | public/ | |
323 | binaries of user programs - write permission to | |
324 | ||
325 | ||
326 | ||
327 | Printed 7/9/88 May 20, 1985 5 | |
328 | ||
329 | ||
330 | ||
331 | ||
332 | ||
333 | ||
334 | HIER(7) UNIX Programmer's Manual HIER(7) | |
335 | ||
336 | ||
337 | ||
338 | everyone | |
339 | spool/ | |
340 | delayed execution files | |
341 | at/ used by _\ba_\bt(1) | |
342 | lpd/ used by _\bl_\bp_\br(1) | |
343 | lock present when line printer is active | |
344 | cf* copy of file to be printed, if necessary | |
345 | df* daemon control file, _\bl_\bp_\bd(8) | |
346 | tf* transient control file, while _\bl_\bp_\br is | |
347 | working | |
348 | uucp/ | |
349 | work files and staging area for _\bu_\bu_\bc_\bp(1C) | |
350 | LOGFILE | |
351 | summary log | |
352 | LOG.* | |
353 | log file for one transaction | |
354 | mail/ | |
355 | mailboxes for _\bm_\ba_\bi_\bl(1) | |
356 | _\bn_\ba_\bm_\be mail file for user _\bn_\ba_\bm_\be | |
357 | _\bn_\ba_\bm_\be.lock | |
358 | lock file while _\bn_\ba_\bm_\be is receiving mail | |
359 | secretmail/ | |
360 | like _\bm_\ba_\bi_\bl/ | |
361 | uucp/ | |
362 | work files and staging area for _\bu_\bu_\bc_\bp(1C) | |
363 | LOGFILE | |
364 | summary log | |
365 | LOG.* | |
366 | log file for one transaction | |
367 | mqueue/ | |
368 | mail queue for _\bs_\be_\bn_\bd_\bm_\ba_\bi_\bl(8) | |
369 | _\bw_\bd initial working directory of a user, typically _\bw_\bd | |
370 | is the user's login name | |
371 | .\b.profile | |
372 | set environment for _\bs_\bh(1), _\be_\bn_\bv_\bi_\br_\bo_\bn(7) | |
373 | .\b.project | |
374 | what you are doing (used by ( _\bf_\bi_\bn_\bg_\be_\br(1) ) | |
375 | .\b.cshrc | |
376 | startup file for _\bc_\bs_\bh(1) | |
377 | .\b.exrc | |
378 | startup file for _\be_\bx(1) | |
379 | .\b.plan | |
380 | what your short-term plans are (used by | |
381 | _\bf_\bi_\bn_\bg_\be_\br(1) ) | |
382 | .\b.netrc | |
383 | startup file for various network programs | |
384 | .\b.msgsrc | |
385 | startup file for _\bm_\bs_\bg_\bs(1) | |
386 | .\b.mailrc | |
387 | startup file for _\bm_\ba_\bi_\bl(1) | |
388 | calendar | |
389 | user's datebook for _\bc_\ba_\bl_\be_\bn_\bd_\ba_\br(1) | |
390 | ||
391 | ||
392 | ||
393 | Printed 7/9/88 May 20, 1985 6 | |
394 | ||
395 | ||
396 | ||
397 | ||
398 | ||
399 | ||
400 | HIER(7) UNIX Programmer's Manual HIER(7) | |
401 | ||
402 | ||
403 | ||
404 | doc/ papers, mostly in volume 2 of this manual, | |
405 | typically in _\bm_\bs(7) format | |
406 | as/ assembler manual | |
407 | c C manual | |
408 | ... | |
409 | /usr/ src/ | |
410 | source programs for utilities, etc. | |
411 | bin/ source of commands in /bin | |
412 | as/ assembler | |
413 | ar.c source for _\ba_\br(1) | |
414 | ... | |
415 | usr.bin/ | |
416 | source for commands in /usr/bin | |
417 | troff/ | |
418 | source for _\bn_\br_\bo_\bf_\bf and _\bt_\br_\bo_\bf_\bf(1) | |
419 | font/ | |
420 | source for font tables, /usr/lib/font/ | |
421 | ftR.c | |
422 | Roman | |
423 | ... | |
424 | term/ | |
425 | terminal characteristics tables, | |
426 | /usr/lib/term/ | |
427 | tab300.c | |
428 | DASI 300 | |
429 | ... | |
430 | ... | |
431 | ucb source for programs in /usr/ucb | |
432 | games/ | |
433 | source for /usr/games | |
434 | lib/ source for programs and archives in /lib | |
435 | libc/ | |
436 | C runtime library | |
437 | csu/ startup and wrapup routines needed with | |
438 | every C program | |
439 | crt0.s | |
440 | regular startup | |
441 | mcrt0.s | |
442 | modified startup for _\bc_\bc -_\bp | |
443 | sys/ system calls (2) | |
444 | access.s | |
445 | brk.s | |
446 | ... | |
447 | stdio/ | |
448 | standard I/O functions (3S) | |
449 | fgets.c | |
450 | fopen.c | |
451 | ... | |
452 | gen/ other functions in (3) | |
453 | abs.c | |
454 | ... | |
455 | net/ network functions in (3N) | |
456 | ||
457 | ||
458 | ||
459 | Printed 7/9/88 May 20, 1985 7 | |
460 | ||
461 | ||
462 | ||
463 | ||
464 | ||
465 | ||
466 | HIER(7) UNIX Programmer's Manual HIER(7) | |
467 | ||
468 | ||
469 | ||
470 | gethostbyname.c | |
471 | ... | |
472 | local/ | |
473 | source which isn't normally distributed | |
474 | new/ source for new versions of commands and library | |
475 | routines | |
476 | old/ source for old versions of commands and library | |
477 | routines | |
478 | ucb/ binaries of programs developed at UCB | |
479 | ... | |
480 | edit editor for beginners | |
481 | ex command editor for experienced users | |
482 | ... | |
483 | mail mail reading/sending subsystem | |
484 | man on line documentation | |
485 | ... | |
486 | pi Pascal translator | |
487 | px Pascal interpreter | |
488 | ... | |
489 | vi visual editor | |
490 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
491 | ls(1), apropos(1), whatis(1), whereis(1), finger(1), | |
492 | which(1), ncheck(8), find(1), grep(1) | |
493 | B\bBU\bUG\bGS\bS | |
494 | The position of files is subject to change without notice. | |
495 | ||
496 | ||
497 | ||
498 | ||
499 | ||
500 | ||
501 | ||
502 | ||
503 | ||
504 | ||
505 | ||
506 | ||
507 | ||
508 | ||
509 | ||
510 | ||
511 | ||
512 | ||
513 | ||
514 | ||
515 | ||
516 | ||
517 | ||
518 | ||
519 | ||
520 | ||
521 | ||
522 | ||
523 | ||
524 | ||
525 | Printed 7/9/88 May 20, 1985 8 | |
526 | ||
527 | ||
528 |