delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/26/12:12:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 26 May 2001 12:11:31 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Serious brokeness of treating .lnk files as symlinks
Message-ID: <20010526121131.C7647@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000201c0e4ea$e90716d0$03250059 AT ifr DOT co DOT uk> <000401c0e5bf$3eefa1a0$21c9ca95 AT mow DOT siemens DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <000401c0e5bf$3eefa1a0$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Sat, May 26, 2001 at 12:38:32PM +0400

On Sat, May 26, 2001 at 12:38:32PM +0400, Andrej Borsenkow wrote:
>>A more serious problem is that if I use tar to archive .lnk files, they
>>are not restored properly.  They started as 'fat' links, and get
>>restored as 'skinny' links.  This new behaviour means that no cygwin
>>tool will be able to handle backing up .lnk files properly.
>>
>
>I am afraid there is no solution without breaking compatibility.  On
>Unix symlink does not have any "contents" except the file name it
>points to.  So, tar saves just this filename.  This allows tar archive
>to be moved to any other compliant system.  If you tar your files on
>Cygwin and restore them on Unix you get identical filesystem structure
>including symlinks.

If you archive a symbolic link, you should restore a symbolic link.  I don't
know what a "fat" link or a "skinny" link may be but that is how it is supposed
to work.  It should create a symlink using the current method for creating
symlinks.

The current problem with .lnks is what we call in the industry "a bug" and it
will be fixed in the next release.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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