delorie.com/archives/browse.cgi | search |
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 |
From: | "Peter Fox" <peter DOT fox AT ifrsys DOT com> |
To: | "'Andrej Borsenkow'" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru> |
Cc: | <cygwin AT cygwin DOT com> |
Subject: | RE: Serious brokeness of treating .lnk files as symlinks |
Date: | Wed, 30 May 2001 08:17:24 +0100 |
Message-ID: | <001401c0e8d8$93737050$03250059@ifr.co.uk> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) |
In-Reply-To: | <000401c0e5bf$3eefa1a0$21c9ca95@mow.siemens.ru> |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Importance: | Normal |
From: Andrej Borsenkow [mailto:Andrej DOT Borsenkow AT mow DOT siemens DOT ru] Sent: 26 May 2001 09:39 > > Desktop/Bash2.lnk -> %USERPROFILE%\bash.bat > > cygwin doesn't understand this, and so complains the file doesn't > exist > This problem should be cured by the O_LNKISFILE flag as well. > Not that I understand. That problem has nothing to do with any flag. I did not know that it is supported by Windows, but if it is, Cygwin should support it as well by default. IIRC it was stressed that new symlinks are compatible with Windows shortcuts. -andrej What I meant by the problem being cured was that cp -d would copy the link without interpretation, therefore would not notice that the link was 'broken'. I was not thinking cygwin should interpret the environment variable, as that gets complicated when copying/displaying (if cygwin interprets it, then you will never see that the .lnk contains an environment variable, if cygwin doesn't interpret it then special handling will be required. Or would open() interpret/follow it, but readlink() not ?). Similarly, I would like to see tar support for O_LNKSIFILE so that it could be used to backup and restore a windows directory tree correctly, rather that 'understand' .lnk files so that the archive could be transferred to a unix system. (--native flag when making the archive ?) Peter. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |