Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Fri, 15 Sep 2000 23:20:50 -0400
To: cygwin@sourceware.cygnus.com
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts
Message-ID: <20000915232050.A8958@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: cygwin@sourceware.cygnus.com
References: <Pine.GSO.4.10.10009151309010.24-100000@newstaff>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@sourceware.cygnus.com

