how to get around rsync error (OS X Tiger)

Wayne Davison wayned at samba.org
Sun Aug 21 22:29:50 GMT 2005


On Sun, Aug 21, 2005 at 02:43:50PM -0400, Lee Cullens wrote:
> The most logical place to ask this question is this rsync forum, but
> no one has yet even acknowledged the issue.

I was hoping that a MacOS user would respond and help you out since this
issue appears to be specific to MacOS.

As for why the rename is happening, that's how rsync updates all the
files (unless overridden via options) -- it creates a new version and
renames it over the old version.  The main reason for this is because of
how the rsync algorithm works, but it is also a very safe idiom in that
any process that has the file open (such as when a program is using the
binary as read-only swap) is not disrupted as it would be if new data
was simply written out to the old inode.

I assume the root issue has to do with something non-Posix going on with
the files in that directory, but I don't know enough about MacOS to be
able to speculate about what that might be.

..wayne..


More information about the rsync mailing list