delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
From: | Barry Kelly <bkelly DOT ie AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygpath unable to translate the *nix path to an NTFS junction point |
Date: | Tue, 18 Jan 2011 06:23:55 +0000 |
Message-ID: | <albaj65hp0693q4toqnhdcnu3up3l9b5ml@4ax.com> |
References: | <AANLkTik5e=pvzaqW+Rxq33NQu1AyaAq3uLmZD3Cb8s5N AT mail DOT gmail DOT com> <1ra7j6h9scktvnlpdceejo3i3q4k4f5c3c AT 4ax DOT com> <20110117135627 DOT GC11221 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20110117135627.GC11221@calimero.vinschen.de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
Corinna Vinschen wrote: > On Jan 17 02:48, Barry Kelly wrote: > >=20 > Also, if you don't treat juntions to the same drive as symlinks you have > the problem that you can easily create loops when you run a recursive > file search. This is true; though 'find' will detect such loops, and e.g. cmd /c dir /s will terminate after 30 recursions, and the Explorer shell is similarly stupid about such loops. What I'm getting at is the ecosystem is so unprepared for junctions that treating them as symlinks makes them feel too... flimsy, fragile. You already need to be careful about creating circular links for issues of compatibility elsewhere. For my usage purposes, though, I want e.g. find as used by locate to follow them (because the canonical path, for my purposes, includes the junction), but not "mere" symlinks. > > So I wrote this modification to cygwin-1.7.7-1=20 >=20 > Please read http://cygwin.com/contrib.html, especially the chapter > "Before you get started". For a patch like this we need a signed > copyright assignment. However... Indeed; I was actually addressing Pierce more directly, I'm not particularly bothered whether or not such a change makes it into Cygwin itself. I fixed my problem; if it fixes Pierce's problem, that's bonus. -- Barry --=20 http://blog.barrkel.com/ -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |