delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/07/26/13:50:39

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Fri, 26 Jul 2002 19:50:33 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: 'native' symlinks for 2K+
Message-ID: <20020726195033.J3921@cygbert.vinschen.de>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <00c801c234a6$d89c1b80$0200a8c0 AT lifelesswks> <20020726155912 DOT I3921 AT cygbert DOT vinschen DOT de> <014701c234b6$09567b30$0200a8c0 AT lifelesswks>
Mime-Version: 1.0
In-Reply-To: <014701c234b6$09567b30$0200a8c0@lifelesswks>
User-Agent: Mutt/1.3.22.1i

On Sat, Jul 27, 2002 at 01:06:35AM +1000, Robert Collins wrote:
> test.bat is a reparse to cygwin.bat (XP Pro). The MSDN doco says nothing
> about reparses being prevented from linking to files. Maybe that was a
> Beta 3 thing?

Hmm, I think I just remembered wrong.  I've just tested it by myself
and it's not a problem.

What is annoying is that a reparse point is always of the same
type as the destination, so a `ln -s dir dir2' must create dir2 as a
directory and hook up the reparse point data to it, while a 
`ln -s file file2' must create file2 as a file.  This even changes
the commands needed to remove the link, DeleteFile() in one case,
RemoveDirectory() in the other case.  But that's solvable, of course.

However...

> Do the above points alter this interest?

...did you try to create a reparse point to a file on another drive?

Corinna

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

- Raw text -


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