delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/06/08/19:02:57

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <39402608.D19A8FFC@vinschen.de>
Date: Fri, 09 Jun 2000 01:02:32 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Organization: Cygnus Solutions, a Red Hat company
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: "Parker, Ron" <rdparker AT butlermfg DOT com>
CC: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: [RFD]: Using a new feature of Win2K for symlinks
References: <E130AkU-0007eL-00 AT mx00 DOT kundenserver DOT de>

"Parker, Ron" wrote:
> FWIW, this only works on local drive resources, but not to network
> directories.  That is a function of DFS.

Right but this doesn't influence symlinks in Cygwin at all.
As I mentioned, my patch falls back if the reparse point
algorithm fails. This could be still tuned.

> >       Symlinks to directories are now transparent
> >       to Windows apps at least on NTFS5 and with W2K
> >       I think that is a good start. And hopefully
> >       Microsoft will implement symlinks to regular
> >       files with that method later, too.
> 
> The problem is that when file systems with reparse points are shared across
> a network other machines do not see them as a symlink.  They see them as a
> regular file.  This is especially true for Win9x machines.

No. I have explicitely tried that. Other machines in the
network see what it is: A directory! And that directory
contains exactly the files which are expected. This is
completely ok for me.

> > Shall we:
> >
> > - Forget that patch completely?
> > - Create some new option for the user?
> > - Well, Wow! I always have waited for that! Go ahead!
> 
> How about using IO_REPARSE_TAG_MOUNT_POINT tags to implement mount
> functionality for local resources on Windows 2000.  I know its not as sexy
> as OS support for real symlinks, but it is a start.

You already have that functionality thru logical drive
manager and that is transparent to all apps including Cygwin,
too. For that, we don't need to implement anything.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company


- Raw text -


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