delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/22/14:32:16

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: Thu, 22 Feb 2001 14:04:54 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT]: Important change to symbolic link functionali ty
Message-ID: <20010222140454.F13561@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Corinna Vinschen <cygwin AT cygwin DOT com>
References: <17B78BDF120BD411B70100500422FC6309E210 AT IIS000> <20010222184404 DOT S908 AT cygbert DOT vinschen DOT de> <3A955952 DOT 6FF234D4 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3A955952.6FF234D4@ece.gatech.edu>; from cwilson@ece.gatech.edu on Thu, Feb 22, 2001 at 01:24:18PM -0500

On Thu, Feb 22, 2001 at 01:24:18PM -0500, Charles S. Wilson wrote:
>Corinna Vinschen wrote:
>
>> The POSIX path in the shortcut which is used by Cygwin is saved EXACTLY
>> as it's given. So there is no change in behaviour as far as Cygwin is
>> concerned!!! OTOH the symlinks now have a meaning for DOS tools as well.
>> 
>> I can't see a disadvantage here.
>
>Sounds like a good system to me.  The only drawback I can see -- and I
>don't mean this as a criticism, it's simply unavoidable -- is the
>following:
>
>If you create a symlink that points to an object and spans a mount
>entry, both the "cygwin" path and the "dos" path will 'do the right
>thing' and point where you think they should.
>
>Then, change the underlying mount entry.
>
>The "cygwin" path will point to the new location (since it is
>interpreted using the new mount entry) but the "dos" path will still
>point to the old (possibly non-existant, now) location because it *was*
>interpreted at symlink-creation-time using the old mount table.
>
>IMO, this slight and rare inconvenience is worth the price -- at least
>now, symlinks will mostly work from Explorer.  Let's be honest, now: how
>often do you really rearrange your mount table?

I don't change my mount table very often but this is still potentially
very surprising behavior for a user.  I don't think we should dismiss
it lightly, as much as I like the idea of using .lnk files.

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