delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/14/15:14:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 14 Feb 2002 15:13:51 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin Registry Entries and Scriptability?
Message-ID: <20020214201351.GA4357@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AA200D15A29A574DA33D98B75E6E5D990452EF85 AT syrs-mail DOT back DOT tickets DOT com>
Mime-Version: 1.0
In-Reply-To: <AA200D15A29A574DA33D98B75E6E5D990452EF85@syrs-mail.back.tickets.com>
User-Agent: Mutt/1.3.23.1i

On Thu, Feb 14, 2002 at 02:51:29PM -0500, Mack, Daemian wrote:
>Hi all.  I'm using Wise Installer to package and script an upgrade utility
>for Windows machines.  As part of this package, I'm using Cygwin's bash.exe,
>rsync.exe, and the latest cygwin1.dll.  At the moment, I'm just copying
>these three files to the hard disk on the target machine, then launching a
>bash.exe process with various arguments to rsync.exe to perform an rsync
>over the net.
>
>I've heard that the way I'm doing it might not be correct, mostly because
>the full setup of Cygwin provides registry entries concerning mount points,
>so that, for instance, the directive /cygdrive/c/windows/desktop means
>something to Cygwin utilities.

Cygwin doesn't need to use the registry.  It only does so when there are
actual entries.  It isn't required to have a root directory or a /bin
directory, etc.  The registry entries are either written by setup.exe or
mount.exe but neither is required.

>But what I'm finding with my testing is that every time I run bash.exe on a
>machine with no other Cygwin install, these registry entries are created
>dynamically.  I suspect cygwin1.dll is doing this when it's called by
>bash.exe.  

If you're seeing this then you're running an older version of cygwin.  It's
possible that some of the registry "directories" might be created but there
should be no actual data.

cgf

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