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 Message-ID: <001b01c01f96$25fd0bf0$f7c723cb@lifelesswks> From: "Robert Collins" To: "David Condon" , References: Subject: Re: Setting cygdrive prefix to '/' causes disappearing mounts Date: Sat, 16 Sep 2000 15:25:28 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 16 Sep 2000 04:24:05.0216 (UTC) FILETIME=[F2E69600:01C01F95] 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" To: 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 AT apk DOT 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 AT sourceware DOT cygnus DOT com > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com