Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 22 Feb 2001 14:04:54 -0500
From: Christopher Faylor <cgf@redhat.com>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: [ANNOUNCEMENT]: Important change to symbolic link functionali ty
Message-ID: <20010222140454.F13561@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: Corinna Vinschen <cygwin@cygwin.com>
References: <17B78BDF120BD411B70100500422FC6309E210@IIS000> <20010222184404.S908@cygbert.vinschen.de> <3A955952.6FF234D4@ece.gatech.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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

