On Oct 25, 2006, at 7:58 PM, Wayne Davison wrote:
On Wed, Oct 25, 2006 at 05:57:38PM +0200, Wesley W. Terpstra wrote:My question: is this useful? should I prefix all MacOS EAs with 'user.'?I'd love to see such a patch, as this is the direction that I'd like tosee rsync take in handling MacOS extended attributes.
I've attached the patch. You need to apply acls.diff and xattr.diff first, and run autoconf/autoheader after.
rsync-2.6.8.mac_xattr.diff
Description: Binary data
I've been trying to work up my nerve to try and backup ACLs, but that's a lot harder from the looks of it.
As for prefixing all MacOS xattrs with "user.", we'd need to come up with some rules that would preserve the xattrs for all data paths: Mac -> Mac, Mac -> Posix -> Mac, and Posix -> Mac -> Posix. So, a Macreceiver would need to be able to differentiate what entries needed the extra prefix stripped, and which did not. So, perhaps adding somethinglike "user.N0nP0s1%." to any non "user." data (that's NonPosix spelled with 2 zeros, a one, and a percent). That would make the stripping rule pretty straight forward on the Mac side.
I just don't know enough about these issues to have an opinion; that's why I asked here.
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html