delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/01/10:23:20

X-Spam-Check-By: sourceware.org
Date: Tue, 1 May 2007 10:22:58 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [Ping Python maintainer]: enhancement request
Message-ID: <20070501142258.GE17841@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <f137va$5ar$1 AT sea DOT gmane DOT org> <20070501120623 DOT GA3824 AT tishler DOT net> <f17e9m$gql$1 AT sea DOT gmane DOT org> <46374055 DOT 9080803 AT byu DOT net> <f17h3p$vjg$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <f17h3p$vjg$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
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 Tue, May 01, 2007 at 02:59:20PM +0100, Thorsten Kampe wrote:
>* Eric Blake (Tue, 01 May 2007 07:27:49 -0600)
>>According to Thorsten Kampe on 5/1/2007 7:11 AM:
>>>Both things are actually the same under Cygwin (tested on my FAT32
>>>flash drive and under Windows XP NTFS).
>>
>>True only for FAT and FAT32, which don't support hard links at all.
>>
>>>NTFS supports hard links but these are likely not the same as the Unix
>>>hard links
>>
>>Actually, NTFS hard links are supported, and cygwin uses them
>>(setup.exe, however, currently does not, so making a hard link in a
>>package won't matter, since setup.exe turns it into a copy anyway).
>>
>>>and Cygwin ln does not create the Windows ones.
>>
>>Actually, cygwin ln resorts to whatever cygwin1.dll does in the link()
>>syscall, and in the case of an NTFS drive, this creates an NTFS hard
>>link.
>
>You are right.  Unfortunately you cannot "see" hard links in Cmd or 4NT
>"dir" output (while softlinks are displayed as junctions).

That's incorrect.  DIR does display hard links, at least on XP.

cgf

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

- Raw text -


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