delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/22/15:11:30

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A956DFF.A61DDBE6@yahoo.com>
Date: Thu, 22 Feb 2001 14:52:31 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: 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> <3A955952 DOT 6FF234D4 AT ece DOT gatech DOT edu> <20010222140454 DOT F13561 AT redhat DOT com>

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

Guess what happens when you rename a directory that a shortcut is
dependent upon in Win32?  I think a documentation entry would suffice. 
Perhaps some tool, perhaps even mount, could take care of modifying the
.lnk files with absolute paths in them after a move of the mount point.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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