delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/23/11:33:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37EA47B2.2D5973F4@jhuapl.edu>
Date: Thu, 23 Sep 1999 11:30:58 -0400
From: Steve Coleman <Steve DOT Coleman AT jhuapl DOT edu>
Organization: Johns Hopkins Applied Physics Laboratory
X-Mailer: Mozilla 4.6 [en] (X11; U; SunOS 5.6 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Vanishing mounts
References: <9909211623 DOT AA01769 AT mlx DOT com> <37E99D8F DOT 91C26F07 AT earthlink DOT net>

Hi,

I have been having the "vanishing mounts" problem for some time and had
just learned to live with it since I only rebooted the machine (erasing
the mounts) to load the latest snapshot dll every few weeks. I had just
used a script to do the remounts until now.

After seeing that I was not the only one with this problem I decided to
investigate the problem so that others may have a solution as well. I
found that somehow my registry entry:
[HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2]
was completely empty! I am not sure when or how this happened since I
don't run auditing on my development workstation.

What I did to fix this was to mount all directories the way I like it,
use regedit.exe to export the branch:
[HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2]
to a *.reg file, edited the file to change all occurances of
HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE then used Windows Explorer
(double click on the *.reg file) to reload the entries. After rebooting
the machine and starting a new shell I found that my entries were indeed
still there.

I hope that this will solve others peoples problems as well.

P.S. - Does anybody know of a automated way to copy the mount points
from current user to local machine in a single command? If not I may
look into it. :)

-- 
Steve Coleman     <Steve DOT Coleman AT jhuapl DOT edu>   http://www.jhuapl.edu/
<<--------->> Johns Hopkins Applied Physics Laboratory <<---------->>
Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597

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