phil@amd.UUCP (Phil Ngai) (07/27/84)
I was wondering how people dealt with local modifications, bug fixes, and enhancements to their systems. When I was naive and inexperienced, I would change the source where I found it and reinstall it where it normally lived. Horrors, right? What I do now is maintain a complete /usr type heirarchy under /usr/local, e.g. /usr/local/bin, /usr/local/src, /usr/local/lib, etc. (I also use RCS, but that's not really relevant.) I have seen people use schemes of the form typified by /usr/lib/local instead of /usr/local/lib. I prefer the latter because when it comes time to change the world (as I just did a month ago, PDP-11 -> VAX) you can tar off /usr/local and you're done, instead of going around and picking up all the scattered pieces. I have also seen /usr/local used for binary. But then where do you keep source, libraries, man pages, etc? Have I left out any considerations here? By the way, is there anyone who doesn't like the 4.2 scheme of /usr/src/{bin,lib,etc,usr.bin,usr.lib}? I think it's wonderful. -- "amd70" is dead! long live "amd"! Phil Ngai (408) 982-6554 UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amd!phil ARPAnet: amd!phil@decwrl.ARPA
jrb@wdl1.UUCP (jrb ) (07/27/84)
#R:amd:-12500:wdl1:1300007:000:596 wdl1!jrb Jul 27 10:47:00 1984 How about the following: /usr/local/bin Binaries for stuff in /usr/local/src /usr/local/doc Documents and tutorials for local software /usr/local/etc Source for local additions to /etc /usr/local/include Include files needed by a significant number of things in /usr/local/src /usr/local/lib Local libraries /usr/local/man Manual pages (might want to merge with /usr/man /usr/local/src Source to local software /usr/local/testbin Binaries for programs under evaluation John R Blaker UUCP: ...!fortune!wdl1!jrb ARPA: jrb@FORD-WDL1 and blaker@FORD-WDL2