DO NOT REPLY [Bug 5455] New: destination files with resource forks now have current mtime

samba-bugs at samba.org samba-bugs at samba.org
Fri May 9 19:37:54 GMT 2008


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

           Summary: destination files with resource forks now have current
                    mtime
           Product: rsync
           Version: 3.0.2
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: davewelsh79 at hotmail.com
         QAContact: rsync-qa at samba.org


Suppose LaCie Disk B is already a proper backup of LaCie Disk A

rsync -aE /Volumes/LaCie\ Disk\ A/ /Volumes/LaCie\ Disk\ B

No files will be copied since B is already the same as A, but any files with
resource forks will now have their last-modified times changed to the current
time on the destination disk.

Now running the same command again will cause rsync to recopy those files due
to the differing last-modified times. This will cause the last-modified times
to revert to what they were before.

The result is that every other time you run the command, any files with
resource forks will be recopied, even though they haven't changed.

I noticed this because I have some 50GB files with resource forks that never
change (raw video files).

The filesystems on both drives read as "Mac OS Extended". The filesystem for
the computer reads as "Mac OS Extended (Journaled)". The OS is Mac OS X 10.5.2


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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