I'm really excited about the recent work on extended attributes. I've compiled 2.6.9 with xattr support, and run a few tests. It seems that if I have a file with an extended attribute ( a resource fork in this case), and I run rsync -aX , the mtime is not preserved. Example:
stat xattrsrc/a 234881026 2894399 -rw------- 1 admin staff 0 1048576 "Nov 10 10:03:01 2006" "Nov 10 10:01:45 2006" "Nov 10 10:01:45 2006" 4096 2056 0 xattrsrc/a ./rsync -ax xattrsrc/a xattrdest/ stat xattrdest/a 234881026 2894405 -rw------- 1 admin staff 0 1048576 "Nov 10 10:03:01 2006" "Nov 10 10:01:45 2006" "Nov 10 10:03:01 2006" 4096 2048 0 xattrdest/a note the preserved mtime, but stripped resource fork. Now with -X: ./rsync -axX xattrsrc/a xattrdest/ stat xattrdest/a 234881026 2894405 -rw------- 1 admin staff 0 1048576 "Nov 10 10:03:01 2006" "Nov 10 10:12:23 2006" "Nov 10 10:12:23 2006" 4096 2056 0 xattrdest/a Is this the expected behaviour? matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html