delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/18/16:41:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sun, 18 Mar 2012 16:40:56 -0400
Message-ID: <CADzxs1=d65Babe1VLbLFUQg03Cu5ZkUqV_qhxmr1kfUg9ft8zQ@mail.gmail.com>
Subject: Broken symlinks after rsync
From: Leo Alekseyev <dnquark AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

I recently tried to transfer the cygwin directory from one machine to
another by rsyncing the source to an external drive, and rsyncing
again from external drive to the destination.  As a result, all my
symlinks got corrupted -- they are now Unicode files with the path
text.  In particular, if I examine the contents of a valid and an
invalid symlink files in Emacs, they appeare identical
(!<symlink>\377\376 followed by the unicode path string). However, one
works with cygwin on the new machine, and the other doesn't.

Both machines are running Cygwin 1.7.

Any thoughts on whether this can be fixed without a complete reinstall
/ recreation of every link?

--Leo

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019