DO NOT REPLY [Bug 7862] New: hard-links and incremental recursion: unclear what happens

samba-bugs at samba-bugs at
Sun Dec 12 11:22:27 MST 2010

           Summary: hard-links and incremental recursion: unclear what
           Product: rsync
           Version: 3.0.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: stepheng+samba at
         QAContact: rsync-qa at

I find the following sentence from the rsync 3.0.7 manual page
discussion of --hard-links to be unclear:

     [incremental recursion] does not affect the accuracy of the
     transfer, just its efficiency.

Does that mean ...

1) The transfer will be less efficient because rsync will transfer the
contents of the file, only to discover later that the transfer was
unnecessary, at which point it will toss the transferred data and
hard-link the file, leaving the file system an accurate duplicate of
the source, or ...

2) The file contents will be accurately copied into a new file, and
you will lose the space efficiency of having the hard link.

I read this as (1) and was happy, but the behavior seems to be (2).
Whichever the implementation does, please clarify the documentation.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list