delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/16/14:52:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AB133D8.6000007@tlinx.org>
Date: Wed, 16 Sep 2009 11:52:08 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Lightning/0.9 Thunderbird/2.0.0.22 ThunderBrowse/3.2.6.4 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Lapo Luchini <lapo AT lapo DOT it>
CC: cygwin AT cygwin DOT com, Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
Subject: Re: Bug or feature missing in rsync.
References: <4AA61819 DOT 4030501 AT tlinx DOT org> <4AB0A9CD DOT 3090201 AT lapo DOT it> <4AB0AEBC DOT 6090709 AT lapo DOT it> <4AB0D66D DOT 4000204 AT gmail DOT com> <4AB0E914 DOT 2060704 AT lapo DOT it> <4AB0EF6C DOT 70605 AT lapo DOT it>
In-Reply-To: <4AB0EF6C.70605@lapo.it>
X-Stationery: 0.4.10
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.
> 
> % 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.
> But the package itself could be GTG anyways (it sure shouldn't be
> "worse" than the current 3.0.5 one).
> 
----
	On my linux box there's an 'xattr' command to set attribs on xfs files systems
and is compatible with the Irix command of the same name.

But if rsync makes the extended attr calls internally, the xattr call shouldn't be 
explicitly needed.

Samba has to be set to pass through the xattr calls to the underlying file system
on each share "ea support = yes".

According to the docs it will enable storing of what it calls "OS/2" style
extended attribs by using the native file systems extended attribute system.

So 'ideally', *cough*, it should just work.

I can always check to see if extended attr's show up on my linux file system.
Was writing a script to run xattr over my files -- it's a primitive util
that doesn't support wildcards or recursion.


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019