delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/23/08:48:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990923124548.598.rocketmail@web129.yahoomail.com>
Date: Thu, 23 Sep 1999 05:45:48 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Vanishing mounts
To: "Kevin L. McWhirter" <klmcw AT earthlink DOT net>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- "Kevin L. McWhirter" <klmcw AT earthlink DOT net> wrote:
> 
> I have been using B20.1 since it came out and have never experienced
> what you are describing.  What I have noticed (do not know if it is
> related but here goes) is this:
> I typically use 3 mounts (text or binary get same effect):
> c:/ as /
> c:/cygnus/.../bin as /bin
> d:/ as /home
> 
> No matter what order I define them in the / ends up as the last registry
> entry and the /home ends up being the first.  The registry entries I am
> referring to are:
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/00
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/01
> HKEY_CURRENT_USER/Software/Cygnus Solutions/CYGWIN.DLL
> setup/b15.0/mounts/02
> 
> 00 is d:/ as /home
> 02 is c:/ as /
> 
> I went as far as to:
> (1) exit all instances of bash
> (2) reboot
> (3) use regedt32 to swap them
> (4) reboot (paranoia)
> (5) use regedt32 to check they were still defined that way
> (6) leave regedt32 open an 00 selected to monitor changes
> (7) run bash
> (8) 00 immediately changes to d:/ as home from c:/ as /
> 
> Again,  I have never lost a mount but this behavior seems a little
> bizarre.

Not really bizarre, just sorted decending length of string order.  Therefore /
will always be last.  If in your case you mount a directory /c it would take
the 02 registry spot and / would be to 03.

NOTE: In b21 and the current snapshots there is different coding for path
management so this is subject to change.


=====
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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