On Wed, Aug 12, 2009 at 8:41 AM, Istvan Gabor
Hello:
I know that there is a 1 hour difference in file dates depending on the filesystem and OS where it is mounted. Eg floppy mounted in openSUSE 10.3, file date shows 1979-12-31 23:00 and the date for the same file on Windows XP is 1980-01-01 00:00. The same applies to USB flashdisks. I never understood the cause of this difference. Can one explain it or point me to a link where I can find explanation?
Thanks, Istvan
Istvan, The issue is not windows, its FAT. fat stores time in local time without a concept of daylight savings etc. And no info about which timezone is in use. ie. They could at least have a master timezone recorded somewhere on the drive, but in the early 1980's who thought about a drive moving between timezones. Not Bill. So tools that show the time have to make various guesses. I believe windows just shows you the raw time from the fat filesystem. Linux does not work in local time at all. So the timestamps on the filesystem have to be converted to GMT and then from there back to local for display. It is not surprising that an error occurs in that process fairly routinely. To show it at its worst, set your windows pc to a timezone several removed from you and put some files on your fat based device and do some tests. The only real answer would be to have Linux force a timezone and dst specification be provided everytime a fat based device was mounted. Not worth the pain. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org