delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/19:20:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 10 Jul 2003 19:20:02 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "P. Brockill" <pbrockill AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Why do symlinks need to be system files
In-Reply-To: <Law10-F458olkDTM9wG0000033e@hotmail.com>
Message-ID: <Pine.GSO.4.44.0307101909521.6088-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 10 Jul 2003, P. Brockill wrote:

> >Sure.  Use new-style symlinks (i.e., shortcuts).  They only need to be
> >read-only, IIRC.  Make sure your CYGWIN variable doesn't contain
> >"nowinsymlinks", though.
> >       Igor
>
> Sounds right enough, but: don't the new-style symlinks always contain
> the full path to the file (e.g. e:\some_dir\some_file.ext)?  (Although I
> see from the text of the .lnk file that they also keep a cygwin path in
> the comment section as well)
> So say I want to make a link on a CD to another file on that CD called
> e:\some_dir\some_file.ext . Won't this fail when I try to see the link
> on a computer where the CD drive is d: ?
> Thanks for the help,
> Cheers.

I just ran a test with a symlink that got created when a network drive was
mounted on a certain directory.  When the network drive got disconnected
and the mount removed, the original path could be accessed through the
symlink, even though the Win32 path field was invalid (i.e., still pointed
to the imaginary Q: drive).  So I guess it's safe to say that the Win32
path field is ignored.  Of course, the source is always the ultimate
authority.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019