From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9348 invoked by alias); 12 Sep 2002 11:46:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9313 invoked from network); 12 Sep 2002 11:46:12 -0000 Received: from unknown (HELO cygbert.vinschen.de) (80.132.124.129) by sources.redhat.com with SMTP; 12 Sep 2002 11:46:12 -0000 Received: (from corinna@localhost) by cygbert.vinschen.de (8.11.6/8.9.3/Linux sendmail 8.9.3) id g8CBk9j10719 for cygwin@cygwin.com; Thu, 12 Sep 2002 13:46:09 +0200 Date: Thu, 12 Sep 2002 06:20:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Hardlink behavoir? Message-ID: <20020912134609.A1574@cygbert.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.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 X-SW-Source: 2002-09/txt/msg00586.txt.bz2 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@cygwin.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/