what do you do with local stuff?

Phil Ngai phil at amd.UUCP
Fri Jul 27 17:55:31 AEST 1984


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 at decwrl.ARPA



More information about the Comp.unix mailing list