This is the mail archive of the
mailing list for the Cygwin project.
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html