Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/