Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990621224544.9764.rocketmail@web122.yahoomail.com> Date: Mon, 21 Jun 1999 15:45:44 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: directory structure To: cygwin users MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- itz AT lbin DOT com wrote: -8<- > My opinion is that /usr/local in general IS useful both for Linux and > for Cygwin. The distinction is not one of native vs. GNU tools as you > point out, but one of distribution vs. local additions. So the Cygwin > full.exe should unpack to (an equivalent of) /usr, while packages from > the Franken acrhive unpack correctly to /usr/local. If a locally > installed package "shadows" a distributed one that's OK too. I agree with Ian. I put the cygwin dist in /usr and anything I build in /usr/local. Actually that isn't exactly true but effectively true. What I really do is to install in /install/package-#.##/... and ln -s the files to the /usr/local directory. > > The exceptions are programs and files which are part of the system and > cannot be "shadowed", i.e. /bin, /sbin, /etc, /lib, /dev. I mv the "important" programs to /bin, I.E.: cygwin1.dll, sh.exe, bash.exe, mount.exe, umount.exe, cygcheck.exe and cygpath.exe. Also, I don't mount the cygwin H-* director(y|ies) to /usr, etc. but create the /bin /etc /var/... /usr/... and /usr/local/... directories and mv things to the appropriate directories. This has the advantage of fewer mount entries in the registry, I can support more than one version of cygwin and a time, and I can segregate the mingw32 versions into a separate directory. This is accomplished by simply executing from dos `sh -c "cd /bin && ./umount / && ./mount C:\\newroot /"'. I use the prompt to remind me which root I'm in. === Earnie Boyd Newbies, please visit (If you respond to the list, then please don't cc me) _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com