questions about extended attributes support across *nix & osx
(hfs+) filesys
snowcrash
schneecrash at gmail.com
Sun Nov 26 19:15:34 GMT 2006
hi,
the 'osx magic', per your suggestion, was apparently to:
patch -p1 <patches/acls.diff
patch -p1 <patches/xattrs.diff
but,
./configue \
...
--disable-acl-support \ <-- DISABLED!
--enable-xattr-support \
...
which, then, results -- error-free! -- in,
...
checking whether to support extended attributes... Using OS X xattrs
...
rsync 2.6.9 configuration successful
then,
make
make install
rsync --version
reports
rsync version 2.6.9 protocol version 29
Capabilities: 64-bit files, socketpairs, hard links, symlinks,
batchfiles, inplace, IPv6, no ACLs, xattrs,
32-bit system inums, 64-bit internal inums
great!
for curiosity, i also dl'd CVS, and tried same.
after
./configure ...
then, on osx,
make
fails with,
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt
-I/usr/local/include -c rsync.c -o rsync.o
rsync.c:106: error: conflicting types for 'dest_mode'
proto.h:227: error: previous declaration of 'dest_mode' was here
rsync.c:131: error: conflicting types for 'set_file_attrs'
proto.h:229: error: previous declaration of 'set_file_attrs' was here
rsync.c: In function 'set_file_attrs':
rsync.c:159: warning: implicit declaration of function 'get_acl'
rsync.c:223: warning: implicit declaration of function 'set_xattr'
rsync.c:233: warning: implicit declaration of function 'set_acl'
rsync.c:260: warning: implicit declaration of function 'free_acl'
make: *** [rsync.o] Error 1
so, for now, 'back' to 2.6.9, & to learn/understand which xattrs
rsync's native support does/doesn't handle the same as v2.6.3 w/
apple's patches.
thanks much for the help! :-)
More information about the rsync
mailing list