delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/12/07:46:28

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
Date: Thu, 12 Sep 2002 13:46:09 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Hardlink behavoir?
Message-ID: <20020912134609.A1574@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT SOL DOT 4 DOT 30 DOT 0209120729110 DOT 29651-100000 AT hadar DOT cse DOT Buffalo DOT EDU>
Mime-Version: 1.0
In-Reply-To: <Pine.SOL.4.30.0209120729110.29651-100000@hadar.cse.Buffalo.EDU>
User-Agent: Mutt/1.3.22.1i

On Thu, Sep 12, 2002 at 07:33:54AM -0400, 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.

It depends.  If the editor opens the file and changes it, the hardlink
remains valid and both directory entries point to the same file.  If
the editor removes the file and creates it new, they are then two
different files.  But this is not different from any POSIX system.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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