www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/10/01:18:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AF905A8.10605@tlinx.org>
Date: Mon, 09 Nov 2009 22:18:16 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Lightning/0.9 Thunderbird/2.0.0.22 ThunderBrowse/3.2.6.5 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: NTFS Symlinks (reparse point) redux
References: <4AF357E1 DOT 4010106 AT tlinx DOT org> <20091105230119 DOT GB2699 AT ednor DOT casa DOT cgf DOT cx> <4AF39229 DOT 6050204 AT tlinx DOT org> <4AF39A7F DOT 7010000 AT cygwin DOT com> <20091106104446 DOT GB26344 AT calimero DOT vinschen DOT de>
In-Reply-To: <20091106104446.GB26344@calimero.vinschen.de>
X-Stationery: 0.4.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Corinna Vinschen wrote:
> On Nov  5 22:39, Larry Hall (Cygwin) wrote:
>  Cygwin 1.7 does recognize reparse points and especially
> the new NTFS6 symlinks. 
---
	Yeah, I have yet to upgrade...going through throws of machine tantrums
now--and OS issues...I hope to give her a spin soon.


> However, it only reads them, never writes them,
> for the reasons repeated by cgf and me a couple of times.
---
	That's fine w/me for the nonce, drives me crazy when I forget about
the ones I've created, let alone all the new ones in use in Vista...


>  You just
> can't use them to store POSIX paths 
----
	That would tend to confuse win processes...

	Anyone know what happens under the included POSIX subsystem in
Vista (and I assume Win7), when it creates symlinks?  I can't imagine
they use ".lnk" file extensions -- but if they use "reparse point" links,
I'd think they'd almost have to store posix path information in them.  I
wonder if a posix created symlink is compatible (usable) by a dos/win app?

Maybe there's something usable from the posix subsystem that would work for
both purposes?  Just a thought -- I haven't looked into the posix subsystem
under vista.

> *and* allowing interoperability with
> native Win32 processes, plus the nonsense of coupling them with a user
> right, plus the super-nonsense only to allow Admins to create them by
> default.
---
	Hmmm...can't imagine that being true for the posix symlinks.  Maybe
posix symlinks only work in posix and aren't true symbolic links recognized
by NT.  *sigh*.

>  All that together makes them worse than Windows shortcuts and
> they have not the faintest advantage over Cygwin-only symlinks
> implemented as files with the SYSTEM DOS attribute set.
---
	Well -- 1 advantage.  They work in cygwin and in windows --
by work, I mean the indirection.  Not that every feature one would want
works.  But all cygwin and dos/windows apps blithely follow the links
without knowing they are links.  Same can't be said for ".lnk" based links.
*sigh*.

-l
 


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

- Raw text -


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