This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Setting cygdrive prefix to '/' causes disappearing mounts


Sysinternals has a tool called regmon which can track the registry calls
made... you might want to use that to get a blow-by-blow list of what
happens.

Rob
----- Original Message -----
From: "David Condon" <dcondon@apk.net>
To: <cygwin@sources.redhat.com>
Sent: Saturday, September 16, 2000 3:11 PM
Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts


> On Fri, 15 Sep 2000, Chris Faylor wrote:
>
> > I asked Corinna to look into this as soon as she has some time.
>
> Because she maintains the sshd port? Uhh, no. This report has nothing to
> do with sshd per se. I simply used that as an example showing that as long
> as _any_ program that loads the Cygwin DLL is still running, the mounts
> remain. Quit the program and all other Cygwin programs, and the mounts
> remain (as verified by checking for the keys in the registry). Start up
any
> Cygwin program, and now the registry keys instantly get erased (you can
> watch it happen in real time by simply keeping the registry editor open
and
> refreshing it immediately after executing any Cygwin program)
>
> > >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.
>
> --
> David Condon                    |       dcondon@apk.net
> Webmaster, APK Net Ltd.         |       (216) 241-7166
> 1621 Euclid Ave., Suite 1230    |       Fax: (216) 241-7522
> Cleveland, Ohio 44115
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]