[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Timestamps jump by one hour when switching timezone



On Tue, 02 Nov 2010 19:26:48 +0100, Rodolfo Medina wrote:

> Rodolfo Medina wrote:
> 
>> Last sunday, in my time zone (Rome), clocks were got back by one hour. 
>> I noticed that my Debian Lenny had done so automatically, but files
>> timestamps were also took back by one hour, which is not what we want.
> 
> 
> Camaleón <noelamac@gmail.com> writes:
> 
>> How is that? Do you have a proof of the timestamp change? :-?
> 
>> a random filesystem timestamp change is a very serious issue.
> 
> 
> I do regular backups on an usb pendrive.  The last backup was made
> before Sunday and the timestamps were the same on the PC and on the
> pendrive.  Now, after the timezone switching, all files on the pendrive
> are one hour late respect to the PC.  So, either the former jumped one
> hour ahead or the latter jumped on hour back.
> 
> This behaviour had been foreseen on the present mailing last 13 August
> list by Frank Otto in the thread `rsync re-syncs unmodified files':
> 
>       More importantly, if you live in an area which switches timezones
>       during the year (summer/winter time aka daylight savings time),
>       the timestamps on these files might suddenly jump by one hour
>       (either the Linux times or the FAT times, I can't remember) and
>       then rsync might want to sync them again. In this case, use
>       modify-window=3602.

Ah, okay... fat filesystem does store the local timezone of the computer, 
not UTC, IIRC, so it will keep the old time (GMT+0200).

I wonder if it exists any "vfat" mount option for displaying UTC time 
instead local :-?

Greetings,

-- 
Camaleón


Reply to: