Bug 873894 - Time on FAT file system not correct after DST
Summary: Time on FAT file system not correct after DST
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 22:29 UTC by nicofo
Modified: 2013-02-13 15:45 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
: 911350 (view as bug list)
Environment:
Last Closed: 2013-02-13 15:44:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Results on Windows (As expected) (48.83 KB, image/png)
2012-11-06 22:29 UTC, nicofo
no flags Details
Results on Linux (NOT as expected) (146.21 KB, image/png)
2012-11-06 22:29 UTC, nicofo
no flags Details

Description nicofo 2012-11-06 22:29:06 UTC
Created attachment 639673 [details]
Results on Windows (As expected)

Description of problem:
The time of files on USB key or SD cards (FAT formatted) are not correct after DST (Daylight Saving Time). See this example:
1) before DST (21th of August) at 15:36, I had saved a file "15h36.txt" on an USB stick
2) after DST (today 6th of November) at 10:26, I have saved another file "10h26.txt" on the USB stick

Results:
- On Windows => everthing is OK concerning the dates, before and after DST (see Attachement)
- Idem with "DIR" MSDOS command
- On Linux => before DST, the time of the single file "15h36.txt" was correct
- On Linux => after DST, the time of the new file "10h26.txt" is correct BUT the time of the old file "15h36.txt" is now erroneous !! There is one hour shift ! (see Attachement)

Version-Release number of selected component (if applicable):
dosfstools-3.0.12-1.fc16.i686

How reproducible:
Always after DST

  
Actual results:
There is a one-hour shift for files after DST => it is not possible to have every files at the correct time: if the ones after DST are correct, the ones before are not (or vice versa I guess)

Expected results:
Every files should have the correct time displayed !
- This is the case in Windows (see attachement) and MSDOS
- This is the case in Linux for the other FS (EXT2/3, NTFS)

Additional info:
1) Same problem for FAT SD card (from camera)
2) FAT USB key is mounted automatically in KDE or GNOME ; mount options are:
/dev/sdf1 on /media/440E-003D type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks)
(I have tried to mount the FAT FS manually using different mount options: no change)

Comment 1 nicofo 2012-11-06 22:29:46 UTC
Created attachment 639674 [details]
Results on Linux (NOT as expected)

Comment 2 nicofo 2012-11-07 20:32:35 UTC
(changed Component: FAT driver is included in kernel and not dosfstools)

Comment 3 DavidDesteen 2012-11-20 18:31:50 UTC
Hi,
I can confirm this bug: every night at 10 PM, I save a log file on an SD card (fat formatted).
The files of November (after DST) are at 10 PM: correct
The files of October (before DST) are at 11 PM: not correct !
Windows XP always shows the correct times

Comment 4 Fedora End Of Life 2013-01-16 14:23:29 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora End Of Life 2013-02-13 15:45:15 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.