Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: ; 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