Making rsync compile under Mac OS X 10.3.9 with extended attributes

Matt McCutchen matt at mattmccutchen.net
Fri Feb 22 00:45:59 GMT 2008


On Thu, 2008-02-21 at 23:59 +0100, Vitorio Machado wrote:
> This version copies the test files of backup bouncer disk image
> except 
> for some tricky files, like fifos.

Great news!

> There is an issue that I don't know if it's a known bug: If I run:
> sudo ./rsync -aHXN --fileflags /Volumes/Src/ /Volumes/Dst/80-rsync-test/
> It goes all fine, but
> sudo ./rsync -aHXN --fileflags /Volumes/Src /Volumes/Dst/80-rsync-test/
> does not. It's maybe normal because Src, as a mount point, is seen as 
> an alias, so it refuse to go deeper, as we have NO_FOLLOW options all 
> into the code.
> It's not very clear to me, can somebody explain better this point 
> saying if it's normal/a bug/a known issue?

If /Volumes/Src is an alias, Mac OS X's POSIX filesystem API may be
exposing it to rsync as a zero-length regular file.  See if the second
command creates a zero-length regular file at
/Volumes/Dst/80-rsync-test/Src .

Matt



More information about the rsync mailing list