X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=k9ETViaArfHnULxy
	INamwjO64Cs3k4fTiltKVnoHG4qWKwk9xsmgDaFL77TQMxDn3D9mg7due+KRqxi/
	fZhQu66vynNnxVVnnE+U8yOWao9S4NY4iSGR4byiTy4ZhwIu/HJL0oMqM+MHJKbc
	spNNIwX3IMAaSxC8bSGBcYVUZTg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=CYMjjtXFFj44Su4nlEcYDf
	hJhcI=; b=i2yrMZdVbhmvuGS15olypIDYs8Kgf/mCqd9vOGwVongxGIpZbWUhU6
	eaTSWHdIYUmArrl6uWnD/1swKMfPKUrWPulojyVeKh7QaCzCmfKTvsDqnyryRvQE
	FNnUh7v54ZZ+oQS+7RkZchp4WwauRoVuOk5cG1M+p/c5J3bIzVoSU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 7 Jan 2015 00:16:51 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <81922919.20150107001651@yandex.ru>
To: LEGOND Fabrice <fabrice.legond@gmail.com>, cygwin@cygwin.com
Subject: Re: [RSYNC] bad modify/change time set by rsync ?
In-Reply-To: <54AC3D83.3000602@gmail.com>
References: <54AC3D83.3000602@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, LEGOND Fabrice!

>> --modify-window
>>
>>      When comparing two timestamps, rsync treats the timestamps as being
>>      equal if they differ by no more than the modify-window value.  This
>>      is normally 0 (for an exact match), but you may find it useful to
>>      set this to a larger value in some situations.  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).
>>
>> Yes, (ex)FAT just doesn't have the resolution to represent some
>> timestamps, specifically it can only record even seconds.

> Yes, that were also a guess at one moment in my testing time, but was 
> discarded because, as I said, I had the very same problem on a ntfs 
> partitions which have far greater precision. So is this normal ?

This is normal when your timezone is incorrect on one of the hosts. Means,
conversion to UTC result in different timestamps.

P.S.
Please don't break threads.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.01.2015, <00:15>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

