delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/22/13:53: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
Message-ID: <3A955952.6FF234D4@ece.gatech.edu>
Date: Thu, 22 Feb 2001 13:24:18 -0500
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT]: Important change to symbolic link functionali ty
References: <17B78BDF120BD411B70100500422FC6309E210 AT IIS000> <20010222184404 DOT S908 AT cygbert DOT vinschen DOT de>

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?

--Chuck

--
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