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