creation date and OSX [performance]

Robert DuToit rdutoit at
Sun Feb 3 02:38:20 GMT 2008

Hi Wayne,
I tried the crtimes patch and it compiles and works but when I tried  
to add the flags patch too I came up with this make error. Though  
flags compiloes by itself or with the osx-create-time.diff patch.  Rob

robert-dutoits-powerbook-g4-15:rsync-3.0.0pre8 astrid$ make
perl ./ ./*.c ./lib/compat.c
gcc -std=gnu99 -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c  
flist.c -o flist.o
In file included from flist.c:24:
ifuncs.h: In function ‘f_crtime’:
ifuncs.h:65: error: ‘crtimes_ndx’ undeclared (first use in this  
ifuncs.h:65: error: (Each undeclared identifier is reported only once
ifuncs.h:65: error: for each function it appears in.)
ifuncs.h: In function ‘f_crtime_set’:
ifuncs.h:76: error: ‘crtimes_ndx’ undeclared (first use in this  
flist.c: In function ‘send_file_entry’:
flist.c:467: error: ‘XMIT_CRTIME_EQ_MTIME’ undeclared (first use in  
this function)
flist.c: In function ‘recv_file_entry’:
flist.c:770: error: ‘XMIT_CRTIME_EQ_MTIME’ undeclared (first use in  
this function)
make: *** [flist.o] Error 1
> On Feb 2, 2008, at 7:02 PM, Wayne Davison wrote:
>> On Sat, Feb 02, 2008 at 12:18:07AM -0600, Mike Bombich wrote:
>>> The performance hit is significant, and I'm wondering how safe it  
>>> is to
>>> simply assume that every file has a creation date?
>> I've been thinking about rewriting that patch so that the creation  
>> time
>> is sent as a time attribute, like the atimes patch, instead of  
>> going to
>> the trouble of faking an xattr value.  This has several advantages,
>> including only needing a single call to read the value, and also it
>> might avoid the creation of so many separate xattr objects for the
>> various files.  The patch for this is now a patch/crtimes branch in  
>> git,
>> and can also be seen here:
>> This requires the use of a new option, --crtimes (-N -- think  
>> "newness")
>> to get the create times preserved.  If you want -N anytime -t is  
>> used,
>> you might want to add a couple popt aliases to your ~/.popt (or even
>> /etc/popt) file:
>> rsync alias -a -aN
>> rsync alias -t -tN
>> ..wayne..
>> -- 
>> To unsubscribe or change options:
>> Before posting, read:

More information about the rsync mailing list