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