[Bug 10352] New: link-by-hash hardlink-collection maintenance mode

samba-bugs at samba.org samba-bugs at samba.org
Mon Dec 30 10:15:25 MST 2013


https://bugzilla.samba.org/show_bug.cgi?id=10352

           Summary: link-by-hash hardlink-collection maintenance mode
           Product: rsync
           Version: 3.1.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: jimklimov at gmail.com
         QAContact: rsync-qa at samba.org


It is possible that files, for which link-by-hash has created the structured
hardlink directories, would change over time. Of course, this would also change
their hashes.

I propose that a maintenance mode be added to the link-by-hash patch to
discover hash-filenames that no longer match the hash of their contents. One
way would be to incorporate some metadata into the filename of the hash-file
(such as the size which exists there today - maybe add the last modification
timestamp also) and find the hash-filenames whose actual filesystem metadata
does not match the metadata stored in the name. Such files would be candidates
for recalculation of the content hash and subsequent renaming to match both the
current hash value and FS metadata.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list