Mail Archives: cygwin-developers/2002/07/26/11:06:38

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: <>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <014701c234b6$09567b30$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT syncretize DOT net>
To: <cygwin-developers AT cygwin DOT com>
References: <00c801c234a6$d89c1b80$0200a8c0 AT lifelesswks> <20020726155912 DOT I3921 AT cygbert DOT vinschen DOT de>
Subject: Re: 'native' symlinks for 2K+
Date: Sat, 27 Jul 2002 01:06:35 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

----- Original Message -----
From: "Corinna Vinschen" <vinschen AT redhat DOT com>
To: "Cygwin Developers" <cygwin-developers AT cygwin DOT com>
Sent: Friday, July 26, 2002 11:59 PM
Subject: Re: 'native' symlinks for 2K+

> On Fri, Jul 26, 2002 at 11:17:51PM +1000, Robert Collins wrote:
> > Is there any interest in an implementation of symlinks via reparse
> > points for win2k and above?
> I've tested that already when 2K was in beta 3 state.  The problems:
> - No reparse points to files, only drives and dirs are possible.

$ ls -l
total 63
-rwx------    1 Robert   None           93 Jun 11 00:12 cygwin.bat
-rwx------    0 Robert   None           93 Jun 11 00:12 test.bat

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?

> - The dest file is always saved in absolute mode.  This prevents
>   easy moving around of relative symlinks.

Hmm. I don't see that as an issue. A cygwin program copying the symlink
will either copy the target or all mknod/ ln.

> - The dest file is always (obviously) saved in native Windows path
>   notation.  This doesn't work well with the Cygwin mount table.

Yes, that would be annoying. Mind you, how often does that change?
Also, reparse points would let us build a 'native' mount structure that
literally matches the cygwin mount structure. (i.e the /usr/bin vs /bin
could be a reparse instead of a mount point).

> So the answer is no.  I'm sorry.  When 2K was new I was pretty sure
> that using reparse points would be a good idea, too.

Do the above points alter this interest?


- Raw text -

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