delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/11/19:30:04

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: <01f201c152ac$e78e9be0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Charles Wilson" <cwilson AT ece DOT gatech DOT edu>, <RCUNNINGHAM AT redlake DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <OFCEB9FC34 DOT 1816FB9F-ON88256AE2 DOT 007527FA AT redlake DOT com>
Subject: Re: Multiple cygwin installs: I have to do it, but how?
Date: Fri, 12 Oct 2001 09:31:50 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 11 Oct 2001 23:37:43.0478 (UTC) FILETIME=[B94DAD60:01C152AD]

----- Original Message -----
From: <RCUNNINGHAM AT redlake DOT com>
To: "Charles Wilson" <cwilson AT ece DOT gatech DOT edu>
Cc: <cygwin AT cygwin DOT com>
Sent: Friday, October 12, 2001 7:41 AM
Subject: Re: Multiple cygwin installs: I have to do it, but how?


> OK, then hang complete Cygwin Registry trees under the root key for
the
> specific install, as I had initially suggested in my prior post.  The
> details don't matter, since there is no implementation.  Global access
is
> needed, no matter if the Registry is used or not.  Still, not
everything
> needs to go in the Registry: Only the minimum needed to uniquely
> distinguish multiple installations, and to allow them to function
properly.
> Everything else should go in files within the specific Cygwin
installation.
> That's all.

Hmm, remember that the registry _location_ is that unique identifier! So
it's already implemented and extant. Changing it at runtime is not
possible (with whatever scheme you create) because of the bootstrap
issue.

> Remember, each user gets their own view of the registry
> (HKEY_CURRRENT_USER).  The Cygwin installer (setup.exe) allows you to
> specify if an installation is for "just me" or for "all", which in
turn
> determines the area of the registry into which the Cygwin keys are
placed.
> That policy would not have to change.  We simply would need to manage
them
> appropriately.

> Hmmm, what does Cygwin do when both sets of keys exist?  That is, one
> installation was done for "just me" and another for "all"?  I suppose
> cygwin1.dll would have to check both places, but which is checked
first?
> If the first exists, is the other ever accessible?  Or are both needed
and
> used?

Both are needed and used. If a system (aka all) mount point conflicts
with a user mount point then the user mount takes precedence. System
mount points are needed for running services, and also for allowing
global settings to be set easily.

Rob



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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