X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Sun, 27 Jun 2010 15:37:26 +0200 From: Michael Ludwig To: cygwin AT cygwin DOT com Subject: Re: Moving Cygwin directory safe? Message-ID: <20100627133726.GA5344@wladimir> Mail-Followup-To: cygwin AT cygwin DOT com References: <20100626141016 DOT GD3672 AT wladimir> <3710255202 DOT 20100627051050 AT mtu-net DOT ru> <20100627095521 DOT GI3672 AT wladimir> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100627095521.GI3672@wladimir> User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Michael Ludwig schrieb am 27.06.2010 um 11:55 (+0200): > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations] > "c5e39b7a9d22bafb"="\\??\\C:\\cygwin" > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options] > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup] > "rootdir"="C:\\cygwin" > ------------------------- > > Looks like I should be able to fix those paths after moving C:\cygwin. I copied C:\cygwin to T: instead of reinstalling. Here's a list of things I had to fix (or fixed preemptively): * fixed the above registry settings * fix shortcuts to setup.exe/cygwin/rxvt/MinTTY in start menu: right-click and select "Eigenschaften" ("properties") * edited T:\Cygwin\cygwin.bat to include correct paths * edited my Windows Vim configuration which sourced files from my Cygwin Vim configuration The root directory in setup.exe is displayed correctly. Seems to depend on the registry setting. The "Local Package Directory" path, however, which I copied from G:\CygVar to T:\CygVar, needs fixing. Maybe another registry setting someplace else. Haven't done any testing, but so far it seems to be working. -- Michael Ludwig -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple