On Sat, Mar 12, 2011 at 07:00:46PM -0500, Nathan Stratton Treadway wrote: > On Fri, Mar 11, 2011 at 14:17:49 -0600, Derek Martin wrote: > > $ stat rsyncfrom/* > > File: `rsyncfrom/bar' > > Size: 0 Blocks: 0 IO Block: 4096 regular empty file > > Device: 805h/2053d Inode: 41984 Links: 1 > > Access: (0644/-rw-r--r--) Uid: (24574/demartin) Gid: ( 600/ staff) > > Access: 2011-03-08 15:45:52.000000000 -0500 > > Modify: 2011-03-08 15:45:52.000000000 -0500 > > Change: 2011-03-08 15:45:52.000000000 -0500 > [...] > > > > HOWEVER, NONE OF THE TIMES OF THE SOURCE FILES HAVE BEEN UPDATED. > > Like John, in my tests rsync both with and without "-t" updates the > access time of the original file (see session log below) > Yes, I think (as one would expect from what the rsync man page says) that rsync doesn't *intentionally* do anything clever with the access time. Either it always changes it or it never changes it and the -t option doesn't make any difference. As suggested it's probably the presence or otherwise of the noatime option in fstab that makes the difference.
-- Chris Green