delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/23/08:32:46

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: Fri, 23 Feb 2001 14:31:40 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: [ANNOUNCEMENT]: Important change to symbolic link functionali ty
Message-ID: <20010223143140.L908@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <17B78BDF120BD411B70100500422FC6309E216 AT IIS000>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <17B78BDF120BD411B70100500422FC6309E216@IIS000>; from Dautrevaux@microprocess.com on Fri, Feb 23, 2001 at 12:14:27PM +0100

On Fri, Feb 23, 2001 at 12:14:27PM +0100, Bernard Dautrevaux wrote:
> FINE! :-))
> 
> You just have me raelize that your patch not only allows Explorer to follow
> Cygwin symlinks, but also cygwin to follow Explorer shortcuts as if they
> were Cygwin symlinks!
> 
> But what happens if i
> 
> 	ln -s "C:/Somewhere/Something" something
> 
> Do I get a DOS shortcut or a mount-table dependant cygwin symlink with a dos
> path set to "C:/Somewhere/Something"? Note that this is especially important
> if, due to the mount table setup, C:/Somewhere/Something" is NOT accessible
> using a cygwin path (because I've mounted something above "C:/Somewhere",
> e.g:
> 
> 	mount C:/ /
> 	mount C:/SomewhereElse	/Somewhere

I suggest trying it. I can't answer your question out of my head
(and I'm currently bound in duty) but AFAICS the path is saved
twice with the POSIX path == DOS path == C:\Somewhere\Something.
What exactly happens then isn't in the charge of the symlink itself
but it will be treated the common way Cygwin treats DOS paths on input.

Corinna

> Anyway don't take my word for a criticism: this is a REALLY good thing to
> have some interoperability between cygwin symlinks and DOS shortcuts.

Never mind. I was way too thin-skinned yesterday ;-)

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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