delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=PG4NYUAvSBiJ1kJYGCGV6ve+9lYY0ech/3YEDxMay3dj69RGED6IJ | |
g2puJHjDPVDHLJLyyJhNKaAKvFKG9bftt/eqf1xiHajf4pAJFL4muq81XojHIjb7 | |
UZrSBim41e4QQMULXuuRufNTdVR6+FJh35ctwTNN5mBOgExlERM0HA= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=e5ZoyWV3RMsPvf8e8iGZxLhPCiY=; b=E1hoKabjlTFQL1zdgHAXqeUje7cy | |
VyBW7Oi7E8OqsbnYOIwc0b5Qp9yGxWWD4L5YxgkPoPOQ1J+sbGIgT8kFv17ATKyL | |
fqihTQ0bIj+BYyOQQkB0QhunRY+TuiEFTSJ7FUhzu8PRsX/ItOnWFd9M6acpZVNh | |
a0ycoEf+KthWZmU= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Thu, 2 Apr 2015 10:17:49 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Can I move Cygwin and Cygwin64 to a drive other than C: ? |
Message-ID: | <20150402081749.GF13285@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <mfga42$ee7$1 AT ger DOT gmane DOT org> <20150401084752 DOT GN13285 AT calimero DOT vinschen DOT de> <mfilln$eq0$1 AT ger DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <mfilln$eq0$1@ger.gmane.org> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--BtLKhN9XZDT5rY4E Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Apr 2 00:55, Robert Miles wrote: > On 4/1/2015 3:47 AM, Corinna Vinschen wrote: > >On Apr 1 03:26, Robert Miles wrote: > >>The C: drive on one of my 64-bit Windows 7 computers is approaching > >>90% full, but there are two other drives that are nearly empty. > >> > >>Can I move the entire Cygwin and Cygwin64 directory trees to one > >>of the nearly empty drives, without losing the extra packages I've > >>already downloaded and the files I've created? > > > >Robocopy allows to copy an entire Cygwin tree while keeping all > >permissions intact. I had good luck with something along the > >lines of > > > > robocopy C:\cygwin64 D:\cygwin64 /e /purge /z /copyall /sl > > > > > >YMMV, > >Corinna >=20 > I tried that on C:\cygwin; it gave an error message without copying > anything. Under an elevated shell? I *did* move Cygwin installations using robocopy and the above works for me. In an elevated shell. > I suspect that was because this directory tree included > links to the top-level directories of all of the Windows drives, > including the one holding the Windows 7 operating system. That doesn't make sense. > I found a way to see the robocopy instructions; it looks like I'll > need to read them thoroughly in order to tell it to copy the links > but not what they point to. That doesn't make sense either. The symlinks created by setup or Cygwin tools are using POSIX paths, not Windows paths. Since you're moving the Cygwin installation as a whole, the reference point for the POSIX root dir moves as well. From the Windows (i.e. robocopy) perspective, those symlinks are simple files with arbitrary content and the DOS system bit set. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --BtLKhN9XZDT5rY4E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVHPstAAoJEPU2Bp2uRE+gvjQP/0XlXz07EFHudUxQmGB4RqGt dw6IeDkvJFSwkBdEiIM3SheqTE3d1K719JZY9v7qHdZp75UZbh2cMzGYCJ+W8zKM bm9JycxsiuZ/ZZPD+PHZ2YHy9MEF5k7zGGDy+9+cYsIvW0FIwP068ms0HIkRYiyO ywk/CFzRYYv0D58NjL8CGis4nhqTcdpvV1z6y0GIVDFJPt1vjfKawZkKUWbG7XE3 b4utP292awPGX+S4WqFV9l4pOWFQU9Uif3NhOFRmNtbKsA8fGjrUm5Th5HAH0/rW kSZwuljF8xpBGvl7yBjyVAZtc7tAaJAh0vnKIl54y93TmOlhqtBud8kVY+3Tv28L QDSv/dBtD2K+KiWIAF8zNsMYAqvCL/Y30o9dk/tx6xg1YMMRvb5qaHQ4RSNafqnA +1lewOivBr6hpNHiT9LxcIsTeaNz71Cqw3tlYCozBVcOMzRT1amgQx2ma/QtkoUt 6bpEZj7r0zOKq4tSkYh0wWSTVYmimfYJ/xL+qGXIutDBWRzzTRDWG9pQgqGcxrH6 CeSrsqicWV6yJoNydDvVp1rfndXVxb7Yfvl2xb89JgrHfLR7kMg4Xhj4isJ18OdP DaqJe/dDrbzCVOvqJXcKOPG6uxNVedltJRlsuu/oYp8lnGz7OGTxRoLHrz9O15Mn +EkM7HVlflfBniB5YMWy =1Zgq -----END PGP SIGNATURE----- --BtLKhN9XZDT5rY4E--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |