Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020214152003.01e063f0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 14 Feb 2002 15:21:58 -0500 To: cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: cygwin Registry Entries and Scriptability? In-Reply-To: <20020214201351.GA4357@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:13 PM 2/14/2002, Christopher Faylor wrote: >On Thu, Feb 14, 2002 at 02:51:29PM -0500, Mack, Daemian wrote: > >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. OK, ignore the jibberish in my response about who makes what mount/directory. Chris's answer is the one you should pay attention to here. The other points I made in my response are still worth considering though. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/