On 2014-10-03 22:14, Istvan Gabor wrote:
So if I do the copying the way I described above, after the time shift the file still has the correct local time time-stamp. But if I mount the card after the time shift the time-stamp will be shifted. That is the time-stamps will differ only because the files were copied at different times (ie the filesystems were mounted at different times). I consider this a buggy behavior. The time stamp should always be the same for the same file and shouldn't depend on when the filesystem is mounted.
But... FAT does not store times in UTC, but in local time. The local time valid at the time each file is written. And it does not save the timezone info anywhere. So, say you save a file at 3:00 in winter. When you mount it any other time on any part of the world, any time zone, any time of the year, in an msdos system, it will still say 3:00. Times in FAT are relative. That's the problem I told you on my first post. It is unsolvable. It is not buggy, it is simply limited (bad) initial design. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)