This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hardlink behavoir?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]