This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug or feature missing in rsync.
Lapo Luchini wrote:
> Lapo Luchini wrote:
>> Dave Korn wrote:
>>> It appears that cygwin has the xattr functions implemented and exported
>> Of course I'd like to; I didn't hope it could be as easy as that. =)
>
> Yes, it seems it was as easy as that.
Hmm, it may or may not be...
> % rsync-3.0.6-1/inst/usr/bin/rsync.exe --version
> rsync version 3.0.6 protocol version 30
> Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
> Web site: http://rsync.samba.org/
> Capabilities:
> 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
> socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
> append, ACLs, xattrs, iconv, symtimes
>
> "make check" tests seems to have good results too, except the xattr one
> is a SKIP.
> Mhhh, that depends on a missing commandline "setfattr" utility.
I downloaded ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_2.4.43-1.tar.gz
and found it builds OOTB, but my first attempt to use setfattr got me an error:
> $ ./setfattr/.libs/setfattr.exe -n bar -v baz foo
> setfattr: foo: Operation not supported
Nor was getfattr capable of showing me the attributes I set in the windows
explorer file properties "summary" tab. I'm taking a look through the strace
to see what's failing and why. The code might need a little porting.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple