HIER(7) UNIX Programmer's Manual HIER(7) NAME hier - file system hierarchy DESCRIPTION The following outline gives a quick tour through a represen- tative directory hierarchy. / root /dev/ devices (4) console main console, _t_t_y(4) tty* terminals, _t_t_y(4) cat phototypesetter _c_a_t(4) rp* disks, _r_p, _h_p(4) rrp* raw disks, _r_p, _h_p(4) ... /bin/ utility programs, cf /usr/bin/ (1) as assembler first pass, cf /usr/lib/as2 cc C compiler executive, cf /usr/lib/c[012] ... /lib/ object libraries and other stuff, cf /usr/lib/ libc.a system calls, standard I/O, etc. (2,3,3S) libm.a math routines (3M) libplot.a plotting routines, _p_l_o_t(3X) ... as2 second pass of _a_s(1) c[012] passes of _c_c(1) ... /etc/ essential data and dangerous maintenance utilities passwd password file, _p_a_s_s_w_d(5) group group file, _g_r_o_u_p(5) motd message of the day, _l_o_g_i_n(1) mtab mounted file table, _m_t_a_b(5) dtab device table for _a_u_t_o_c_o_n_f_i_g(8) ddate dump history, _d_u_m_p(8) ttys properties of terminals, _t_t_y_s(5) getty part of _l_o_g_i_n, _g_e_t_t_y(8) init the father of all processes, _i_n_i_t(8) rc shell program to bring the system up cron the clock daemon, _c_r_o_n(8) Printed 8/2/83 1 HIER(7) UNIX Programmer's Manual HIER(7) mount _m_o_u_n_t(8) wall _w_a_l_l(8) ... /tmp/ temporary files, usually on a fast device, cf /usr/tmp/ e* used by _e_d(1) ctm* used by _c_c(1) ... /usr/ general-pupose directory, usually a mounted file system adm/ administrative information wtmp login history, _u_t_m_p(5) messages hardware error messages tracct phototypesetter accounting, _t_r_o_f_f(1) vpacct line printer accounting _l_p_r(1) /usr /bin utility programs, to keep /bin/ small tmp/ temporaries, to keep /tmp/ small stm* used by _s_o_r_t(1) raster used by _p_l_o_t(1) dict/ word lists, etc. words principal word list, used by _l_o_o_k(1) spellhist history file for _s_p_e_l_l(1) games/ bj blackjack hangman quiz.k/ what _q_u_i_z(6) knows index category index africa countries and capitals ... ... include/ standard #include files a.out.h object file layout, _a._o_u_t(5) stdio.h standard I/O, _s_t_d_i_o(3) math.h (3M) ... sys/ system-defined layouts Printed 8/2/83 2 HIER(7) UNIX Programmer's Manual HIER(7) acct.h process accounts, _a_c_c_t(5) buf.h internal system buffers ... lib/ object libraries and stuff, to keep /lib/ small lint[12] subprocesses for _l_i_n_t(1) libF77.a Fortran runtime support libI77.a Fortran I/O llib-lc dummy declarations for /lib/libc.a, used by _l_i_n_t(1) llib-lm dummy declarations for /lib/libm.a atrun scheduler for _a_t(1) struct/ passes of _s_t_r_u_c_t(1) ... tmac/ macros for _t_r_o_f_f(1) tmac.an macros for _m_a_n(7) tmac.s macros for _m_s(7) ... font/ fonts for _t_r_o_f_f(1) R Times Roman B Times Bold ... uucp/ programs and data for _u_u_c_p(1) L.sys remote system names and numbers uucico the real copy program ... units conversion tables for _u_n_i_t_s(1) eign list of English words to be ignored by _p_t_x(1) /usr/ man/ volume 1 of this manual, _m_a_n(1) man0/ general intro introduction to volume 1, _m_s(7) format template template for manual page Printed 8/2/83 3 HIER(7) UNIX Programmer's Manual HIER(7) man1/ chapter 1 as.1 at.1 ... cat1/ preprinted pages for man1/ as.1 at.1 ... spool/ delayed execution files at/ used by _a_t(1) lpd/ used by _l_p_r(1) lock present when line printer is active cf* copy of file to be printed, if necessary df* daemon control file, _l_p_d(8) tf* transient control file, while _l_p_r is working uucp/ work files and staging area for _u_u_c_p(1) LOGFILE summary log LOG.* log file for one transaction mail/ mailboxes for _m_a_i_l(1) _u_i_d mail file for user _u_i_d _w_d initial working directory of a user, typically _w_d is the user's login name .profile set environment for _s_h(1), _e_n_v_i_r_o_n(5) calendar user's datebook for _c_a_l_e_n_d_a_r(1) doc/ papers, mostly in volume 2 of this manual, typically in _m_s(7) format as/ assembler manual c C manual ... /usr/ src/ source programs for utilities, etc. cmd/ source of commands as/ assembler makefile recipe for rebuilding the assembler as1?.s source of pass1 ar.c source for _a_r(1) ... troff/ source for _n_r_o_f_f and _t_r_o_f_f(1) nmake Printed 8/2/83 4 HIER(7) UNIX Programmer's Manual HIER(7) makefile for _n_r_o_f_f tmake makefile for _t_r_o_f_f font/ source for font tables, /usr/lib/font/ ftR.c Roman ... term/ terminal characteristics tables, /usr/lib/term/ tab300.c DASI 300 ... ... sys/ system source dev/ device drivers bio.c common code cat.c _c_a_t(4) dh.c DH11, _t_t_y(4) tty _t_t_y(4) ... MACHINEID/ hardware-dependent code for machine MACHINEID ioconf.c local device specifications l.s interrupt vectors param.c tunable parameters ... sys/ source for system proper main.c pipe.c sysent.c system entry points ... stand/ source for standalone utilities restor.c libsa/ mtboot.s bootstrap/ source for second-stage boot boot.c M.s mdec/ source for device-dependent first-stage boot Printed 8/2/83 5 HIER(7) UNIX Programmer's Manual HIER(7) hpuboot.s rkuboot.s ... lib/c/ source for functions in /lib/libc.a crt/ C runtime support ldiv.s division into a long lmul.s multiplication to produce long ... csu/ startup and wrapup routines needed with every C program crt0.s regular startup mcrt0.s modified startup for _c_c -_p sys/ system calls (2) access.s alarm.s ... stdio/ standard I/O functions (3S) fgets.c fopen.c ... gen/ other functions in (3) abs.c atof.c ... compall shell procedure to compile libc mklib shell procedure to make /lib/libc.a lib/libI77/ source for /usr/lib/libI77.a lib/libF77/ ... games/ source for /usr/games SEE ALSO find(1), grep(1), ls(1), ncheck(8), BUGS The position of files is subject to change without notice. Printed 8/2/83 6