msdosfs Daylight Saving Bug
Frank Mitchell
mitchell at cloudynwuk.force9.co.uk
Sat Apr 8 16:04:23 UTC 2006
FreeBSD Home Users could have a problem with shared Windows data if they use
Daylight Savings Time. Like Linux, FreeBSD seems to translate Windows
Timestamps wrongly.
Suppose you need to share data in an Extended Windows partition. I use:
mount_msdosfs /dev/ad0s5 /mnt
We've just changed from Greenwich Mean Time to British Summer Time. When I
examine my Windows Timestamps under FreeBSD, the BST Timestamps are okay,
but the GMT Timestamps are listed as one hour earlier. When we change back
to Greenwich Mean Time, the GMT Timestamps will get in sync, but the BST
Timestamps will turn out one hour later.
This can be fixed simply by using one Timezone for both Windows and Unix all
year round. Meanwhile it has been known to cause problems for applications
which rely on Timestamps to identify different versions of a changing file.
Yours Truly: Frank Mitchell
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 08/04/2006
More information about the freebsd-qa
mailing list