search for: xmit_same_atime

Displaying 3 results from an estimated 3 matches for "xmit_same_atime".

2004 Apr 10
0
patches for copying atimes
...= 0; rdev = 0, rdev_high = 0, dev = 0; uid = 0, gid = 0; *lastname = '\0'; @@ -386,6 +387,12 @@ flags |= XMIT_SAME_TIME; else modtime = file->modtime; + if (protocol_version > 28) { + if (file->atime == atime) + flags |= XMIT_SAME_ATIME; + else + atime = file->atime; + } #if SUPPORT_HARD_LINKS if (file->link_u.idev) { @@ -439,6 +446,8 @@ write_longint(f, file->length); if (!(flags & XMIT_SAME_TIME)) write_int(f, modtime); + if (protocol_version > 28 &&amp...
2004 Apr 20
1
improved atime patch
...me = 0, mode = 0; dev = 0, rdev = makedev(0, 0); rdev_major = 0; uid = 0, gid = 0; @@ -390,6 +391,12 @@ flags |= XMIT_SAME_TIME; else modtime = file->modtime; + if (protocol_version > 28) { + if (file->atime == atime) + flags |= XMIT_SAME_ATIME; + else + atime = file->atime; + } #if SUPPORT_HARD_LINKS if (file->link_u.idev) { @@ -443,6 +450,8 @@ write_longint(f, file->length); if (!(flags & XMIT_SAME_TIME)) write_int(f, modtime); + if (protocol_version > 28 &&amp...
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
Dear Martin Pool. We regularly use rsync for making backups of our file systems but we have noticed that the atimes are not transferred with the files and are also always updated on the sender's side. Therefore, we have created a modified version of rsync based on rsync-2.6.6 protocol version 29 which transfers the access times with the transferred files and also allows to preserve the access