X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Nov 2009 09:06:57 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: NTFS Symlinks (reparse point) redux
Message-ID: <20091110080657.GR26344@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4AF357E1.4010106@tlinx.org>  <20091105230119.GB2699@ednor.casa.cgf.cx>  <4AF39229.6050204@tlinx.org>  <4AF39A7F.7010000@cygwin.com>  <20091106104446.GB26344@calimero.vinschen.de>  <4AF905A8.10605@tlinx.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AF905A8.10605@tlinx.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

