I'm glad to see rsync may finally be getting proper support for
extended attributes
on OSX (since apple's own implementation of this is notoriously buggy).
I'm wondering, though: does the xattr code avoid copying, or even
comparing
hashes of, the xattr data itself? Especially on OSX there can be a
lot of this stuff,
and it would be nice if changes in the xattr's were detected quickly
by looking at something like
modtime and filesize, just like for regular files. I don't even know
if this is possible,
as this data may not even be available for xattr's.
-- Victor
On Oct 25, 2006, at 10:01 PM, Wayne Davison wrote:
On Wed, Oct 25, 2006 at 09:10:46PM +0200, Wesley W. Terpstra wrote:
I've attached the patch. You need to apply acls.diff and xattr.diff
first, and run autoconf/autoheader after.
Great! I've taken your code, tweaked it a little, and then did some
bug-fixing of the xattr code in general (I found some buffer problems
quickly using valgrind). The end result is now in CVS and in the most
recent "nightly" tar file (see the download page of the website).
The OS X version transmits a unique prefix of "user.0S%." for any
attribute name that doesn't start with "user." or "system.". It also
strips this prefix when received. This should make the code interact
well with Linux/Un*x systems. Please try it out and let me know if
you find any problems.
..wayne..
--
To unsubscribe or change options: https://lists.samba.org/mailman/
listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-
questions.html
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html