delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/09/20:22:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <15097.56699.434661.631586@coyote.priv.helixdigital.com>
Date: Wed, 9 May 2001 17:14:51 -0700
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
In-Reply-To: <000a01c0d84f$59eb9040$6e032bb7@BRAMSCHE>
References: <000a01c0d84f$59eb9040$6e032bb7 AT BRAMSCHE>
X-Mailer: VM 6.76 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid
From: Dario Alcocer <alcocer AT helixdigital DOT com>
Subject: Re: problems with mulitple cygwin installation

>>>>> "Ralf" == Ralf Habacker <Ralf DOT Habacker AT saght DOT tessag DOT com> writes:

    Ralf> Hi for testing purpose I like to habe multiple cygwin
    Ralf> installation and only the last installation works, because
    Ralf> of the mount points are stored (and overwritten) in the
    Ralf> registry.

    Ralf> Does anyone know a workaround for that ?

Of the top of my head, I'd try the following procedure:

1. Pipe the output of the 'mount' command through awk or sed to
generate a batch file that captures the mount points for the currently
running installation instance.

2.  Save a separate mounts batch file for each installation, and
create a separate copy of the cygwin.bat file for each installation
instance (e.g., cygwin1.bat, cygwin2.bat, etc.)

3.  Each of these cygwin*.bat batch files would call the correct
mounts batch file before running the bash shell.

Try this out and see it if works for you.

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer AT helixdigital DOT com -- http://www.helixdigital.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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