DO NOT REPLY [Bug 6672] transfer & set nano-second times on files

samba-bugs at samba-bugs at
Mon Sep 7 15:21:14 MDT 2009

wayned at changed:

           What    |Removed                     |Added
           Severity|major                       |enhancement
             Status|NEW                         |ASSIGNED
            Summary|mtim.tv_nsec not used when  |transfer & set nano-second
                   |reading time of a file      |times on files
            Version|3.0.6                       |3.1.0

------- Comment #1 from wayned at  2009-09-07 16:21 CST -------
The latest git repository has support for nanosecond timestamp values.  The
values are transferred as part of the file-list (when both sides are speaking
the most recent (dev-version) protocol 31), and the receiver will attempt to
set it.  Probably only works on Linux at the moment.

Things to enhance:

 * Figure out if there are other nanosecond setting functions that should be
supported besides utimensat().
 * Figure out a good heuristic for allowing the nanoseconds to be compared
(when determining if a file is up-to-date) without getting tripped up by those
filesystems that round/truncate time values.

The current code leaves the quick-check algorithm unchanged, as it only checks
the file's size, and the seconds portion of the modtime.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list