Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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