delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/15/23:22:10

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 15 Sep 2000 23:20:50 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000915232050.A8958@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <Pine DOT GSO DOT 4 DOT 10 DOT 10009151309010 DOT 24-100000 AT newstaff>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <Pine.GSO.4.10.10009151309010.24-100000@newstaff>; from dcondon@apk.net on Fri, Sep 15, 2000 at 01:30:27PM -0400

I asked Corinna to look into this as soon as she has some time.

cgf

On Fri, Sep 15, 2000 at 01:30:27PM -0400, David Condon wrote:
>I have been experiencing a problem in which everything in the mount
>table disappears. This happens when any program using the Cygwin DLL
>is executed. With Regedit open, I can see that the keys containing the
>mount points disappear.
>
>I recreate the mount points that existed before. If I open an additional
>window to the Cygwin bash without closing the first one, all mounts remain
>in place.
>
>If I start sshd as a service using SRVANY, as long as that program continues
>to run, all mounts remain in place. When all programs requiring the Cygwin
>DLL have been exited and nothing using the DLL is still running, the registry
>keys still exist. The next time any Cygwin program is executed (not just
>bash -- running any program under CMD.EXE does the same thing) all the
>registry keys for the mounts immediately disappear.
>
>This problem was apparently caused, at least in my case, by setting either a
>user or system /cydrive prefix to '/'. It is 100% reproducible, and especially
>interesting that even when only a user /cygdrive prefix is set to '/', all
>system mounts will disappear. Now that I have a little better understanding
>of how the cygdrive prefix works, I can see that there is really no good
>reason to change it to '/' anyway. However, the User Guide uses this exact
>command as an example (3.11, "Changing the default prefix") in the section
>on "mount". It seems that it would be appropriate to change that to anything
>other than '/' and add a warning that setting it to '/' causes the mount
>table to be cleared.

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