Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!mandrill!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: comp.unix.questions Subject: Re: Directory structure for local dir's Message-ID: <4297@ncoast.UUCP> Date: Tue, 1-Sep-87 17:33:20 EDT Article-I.D.: ncoast.4297 Posted: Tue Sep 1 17:33:20 1987 Date-Received: Thu, 3-Sep-87 02:10:45 EDT References: <311@pvab.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.unix.questions Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 49 As quoted from <311@pvab.UUCP> by robert@pvab.UUCP (Robert Claeson): +--------------- | I'm a little curious about how I should organize our local | directories. Where should I put sources, binaries, libes, and so on. | I've been recommended by various people to put my binaries in | /usr/local, /usr/local/bin, /usr/lbin, and even /usr/bin (which AT&T | recommends in their SVID, I think). About the same applies for | sources. /usr/src/local, /usr/local/src, and /usr/lsrc are the names | I've seen. Applications (such as Uniplex, Informix, Today) can be | placed under /usr, /usr/appl, /usr/lib, /usr/opt, /usr/local, among other | places. User's home directories under /usr, /usr/u and /usr/users. +--------------- The directory structure I usually use is: /bin - Single/multiuser UNIX standard commands /lib - Singleuser UNIX standard libraries/control files /etc - Singleuser UNIX system maintenance files/commands /usr - "UNIX service routines" bin -- Multiuser UNIX standard commands lib -- Multiuser UNIX standard libraries/control files etc -- Multiuser UNIX standard maintenance files/commands local -- Locally added files bin -- Locally added commands lib -- Locally added libraries/control files etc -- Locally added system maintenance files/commands /u - User home directories (sometimes /user instead) /appl - Applications, by application (examples below from TDI) mcs (Manufacturing Control System) unify (UNIFY 3.2) isql (Informix-SQL) coesys (COE system written in UNIFY) /proj - Locally developed applications sources (again, examples from TDI) fc (Forecasting programs for COE system) ml (Mailing list database) gl (General Ledger programs for COE system) routing (Route sheet database) unify (Locally developed UNIFY tools) This makes it easy to figure out where things are: system tools and commands are kept in directories with the same structure, and applications are stored by their commonly-known names. -- Brandon S. Allbery, moderator of comp.sources.misc {{harvard,mit-eddie}!necntc,well!hoptoad,sun!mandrill!hal}!ncoast!allbery ARPA: necntc!ncoast!allbery@harvard.harvard.edu Fido: 157/502 MCI: BALLBERY <> ** Site "cwruecmp" has changed its name to "mandrill". Please re-address ** *** all mail to ncoast to pass through "mandrill" instead of "cwruecmp". ***