X-Spam-Check-By: sourceware.org Message-ID: <44276D1C.20403@cygwin.com> Date: Sun, 26 Mar 2006 23:42:04 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Multiple cygwin installs References: <4427561D DOT 4060300 AT scytek DOT de> <20060327033442 DOT GA4757 AT trixie DOT casa DOT cgf DOT cx> <20060327035423 DOT GB4757 AT trixie DOT casa DOT cgf DOT cx> <442768EE DOT 6090105 AT activeclickweb DOT com> In-Reply-To: <442768EE.6090105@activeclickweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Brian Hawkins wrote: > Just FYI. I found a pretty good way to manage multiple cygwin installs. > > I use the windows subst command. > > It works like this. Create a directory c:\cyginstalls. Then beneath it > create a directory for each cygwin install you want like cygwin1, > cygwin2 whatever. Then use the subst command like so: > subst x: c:\cyginstalls\cygwin1 > > Now install cygwin to x:\. Change the subst to c:\cyginstalls\cygwin2 > and install again to x:\. > > To choose what cygwin you use just subst x to the appropriate folder. > Kind of a poor mans symbolic link. Why are you commandeering one thread to inject another? If you have something you want to say and it has nothing to do with any previous thread, just start a new one by sending email to the list. The flaw that I see with your approach is that you're not taking into account any existing mounts in the mount table. Without resetting the mount table in between each installation, you will very likely end up with subsequent installations overwriting the first one. FWIW, if you want something similar to symbolic links for directories and you're running W2K or above with NTFS, you can use reparse points. See the "junction" utility from www.sysinternal.com if you're interested in this. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/