www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/10/03:07:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Nov 2009 09:06:57 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: NTFS Symlinks (reparse point) redux
Message-ID: <20091110080657.GR26344@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <4AF905A8 DOT 10605 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <4AF905A8.10605@tlinx.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Nov  9 22:18, Linda Walsh wrote:
> 	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.

Under W7 SUA is still using its own brew of symlinks which is equivalent
to the default Cygwin symlinks:  A file with the SYSTEM DOS attribute
set, a magic cookie ("IntxLNK\1"), and the target filename.  Cygwin 1.7
can read Interix symlinks.  Of course, due to the different directory
tree layout (/cygdrive/c ==> /dev/fs/C), absolute paths in Interix might
point into nirvana under Cygwin.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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