www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/10/24/08:10:31

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3BD6AFAF.8DC42F4A@yahoo.com>
Date: Wed, 24 Oct 2001 08:10:23 -0400
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: CD List <Cygwin-Developers AT Cygwin DOT Com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT Cygwin DOT Com
Subject: Re: Need name and functionality suggestions for a new utility
References: <20011024005137 DOT A29851 AT redhat DOT com> <007f01c15c7b$84f86a50$65f504c0 AT sos>

Let's see if I understand the scenario correctly.

1) you want one set of executables which is shared between two isolated
instances of cygwin1.dll.
2) you need differing mount tables.

Ok, for item 1 you simply

* mkdir /dll-1.3.3
* mkdir /dll-test
* move /bin/cygwin1.dll to /dll-1.3.3
* install your test cygwin1.dll to /dll-test
* cp /etc/profile /etc/profile-rls
* cp /etc/profile /etc/profile-test
* add the /dll-1.3.3 to the PATH settings in the /etc/profile-rls.
* add the /dll-test to the PATH settings in the /etc/profile-test.
* cp /cygwin.bat /cygwin-rls.bat
* cp /cygwin.bat /cygwin-test.bat
* add a copy of /etc/profile-rls to /etc/profile in the cygwin-rls.bat
* add a copy of /etc/profile-test to /etc/profile in the cygwin-test.bat
* issue - executing cygwin binaries outside of a Cygwin enabled shell.
* resolution - set the PATH manually before executing binaries.

This gives the isolation you need for the current releases of Cygwin
without fancy manipulations.

Given the simplicity of the isolation above, are differing mount tables
necessary?

Am I off base here?  Am I misunderstanding what needs to happen?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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