delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/27/10:44:32

X-Spam-Check-By: sourceware.org
Message-ID: <44280836.2020808@activeclickweb.com>
Date: Mon, 27 Mar 2006 08:43:50 -0700
From: Brian Hawkins <brianhks AT activeclickweb DOT com>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
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> <44276D1C DOT 20403 AT cygwin DOT com>
In-Reply-To: <44276D1C.20403@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

OK please clarify how I commandeered a thread?  I addressed my email to 
the cygwin list and set my own subject.  I was not replying to any other 
thread.

Also this may not be the best solution, but I use cygwin for 
development.  It may not be the perfect solution but it works well for 
switching development environments.

I posted my comments because there may be someone out there who will say 
"Hey that will work for me too."

Brian

Larry Hall (Cygwin) wrote:

> 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.
>

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019