Source: rsync
Severity: normal
Tags: upstream

rsync(1) states that "In particular, when transferring to or from an
MS Windows FAT filesystem (which represents times with a 2-second
resolution), --modify-window=1 is useful (allowing times to differ by up
to 1 second)." However, both Linux [1] and FreeBSD [2] simply round down
to the next-lowest two-second interval, which means that a time like
00:00:01.999 will be rounded to 00:00:00. The man page should thus read
"--modify-window=2 is useful (allowing times to differ by up to 2
seconds)."

[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/fat/misc.c?id=b45a53be53d660c4b8fa4d1ef852439607611424#n226
[2] 
https://svnweb.freebsd.org/base/head/sys/kern/subr_fattime.c?revision=326271&view=markup#l139

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Reply via email to