Making rsync compile under Mac OS X 10.3.9 with extended
attributes
Vitorio Machado
v.machado at permanence-informatique.fr
Mon Feb 18 12:56:31 GMT 2008
Hello Rob (and who else may be interested in news about 10.3 support
patch),
1) Make sure you have a fresh copy of rsync (3.0.0pre9 for the
moment) when patching and compiling. Patching an already patched
source code won't do anything good.
2) If you removes the X option is the same as using normla rsync. It
won't copy any extended attr.
3) I don't know exactly what you mean by no luck, but I tested the
backup bouncer. It ends up in a 23 error code meaning all files
haven't been copied.
The good news: I've identified the problem. My patch is trying to
follow symlinks when it shouldn't. This is a minor issue, the rsync
should work nice to backup disks without aliases. For the aliases, it
will take resource fork from the original file. Annoying, but not a
big problem.
The bad one: The simple way to say it to no follow symlinks appeared
on 10.4 API... I've already tried some things, but it will be a
little bit complicated to fix it.
Well, problem identified, v0.4 will be released as soon as possible
to fix it. I would say before the weekend.
Thanks for testing and submitting bug reports.
Vitorio
PS: About backup bouncer test:
>
> Verifying: basic-permissions ... ok
> Verifying: timestamps ...
> Sub-test: modification time ... ok
> ok
> Verifying: symlinks ... ok
> Verifying: symlink-ownership ... ok
> Verifying: hardlinks ... FAIL
> Verifying: resource-forks ... FAIL
> Verifying: finder-flags ... FAIL
> Verifying: finder-locks ... ok
> Verifying: creation-date ... ok
> Verifying: bsd-flags ... ok
> Verifying: extended-attrs ...
> Sub-test: on files ... ok
Don't expect this to work as 10.3 does not handle extended attributes
other than resource fork and finder info
> Sub-test: on directories ... FAIL
Don't expect this to work as 10.3 does not handle extended attributes
other than resource fork and finder info
>
> Sub-test: on symlinks ... FAIL
Don't expect this to work as 10.3 does not handle extended attributes
other than resource fork and finder info
>
> FAIL
> Verifying: access-control-lists ...
> Sub-test: on files ... ok
Don't expect this to work as 10.3 does not handle ACLs
>
> Sub-test: on dirs ... ok
Don't expect this to work as 10.3 does not handle ACLs
>
> ok
> Verifying: fifo ... ok
> Verifying: devices ... ok
> Verifying: combo-tests ...
> Sub-test: xattrs + rsrc forks ... FAIL
Don't expect this to work as 10.3 does not handle extended attributes
other than resource fork and finder info
>
> Sub-test: lots of metadata ... FAIL
Don't expect this to work as 10.3 does not handle extended attributes
other than resource fork and finder info
>
> FAIL
>
More information about the rsync
mailing list