delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/09:57:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3D80E07A.5090408@decodon.com>
Date: Thu, 12 Sep 2002 20:44:10 +0200
From: Frank-Michael Moser <moser AT decodon DOT com>
Organization: DECODON GmbH
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Hardlink behavoir?
References: <Pine DOT SOL DOT 4 DOT 30 DOT 0209120729110 DOT 29651-100000 AT hadar DOT cse DOT Buffalo DOT EDU>

There is a native command on WinXP (2000, NT?) to create hardlinks:

fsutil hardlink create /?
Syntax : fsutil hardlink create <neuer Dateinname> <vorhandener Dateiname>
   z.B. : fsutil hardlink create c:\foo.txt c:\bar.txt

After once a hardlink is created with Win's fsutil or with Cygwin's ln I 
found no means to decide which one originally did create it. So I guess 
that Cygwin-hardlinks should work fine for native Win-applications too.

Frank-Michael

Eric D Crahen wrote:
> Hardlinks on NTFS work great when you are using them only from within the
> cygwin environment. What happens when I modify one of the hardlinked files
> from outside cygwin. For example, if I execute 'ln MyDocument.doc
> MyLinkedDocument.doc' and then were to edit one of the files in Word or
> some other non-cygwin app.
> 
> - Eric
> http://www.cse.buffalo.edu/~crahen
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515231
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser AT decodon DOT com
Germany                               web:   www.decodon.com
------------------------------------------------------------


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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