[Bug 627480] [NEW] vfat file time incorrect on usb stick

Launchpad Bug Tracker 627480 at bugs.launchpad.net
Wed Sep 1 17:53:07 UTC 2010


You have been subscribed to a public bug:

I use the USB stick (2GB) formatted as vfat. Often, when I edit a file
(or just touch it), and remove and re-insert the stick, the time
reported is one second less than originally set. See the sequence below.

Note

1. 'touch' is not needed, it is just any edit that can trigger the error
2. I report this from 9.10, but I have the same error on fully patched 10.04
3. Error is only on vfat, never experienced on ext2 -formatted memory sticks
4. If the time isreported one second less, it stays like this at subsequent removals/insertions
---
log, commented
#
# two files created: a1.txt and a2.txt
#
pco at rodan-desktop:/media/CORSAIR$ ls -l --time-style=full-iso a*
-rwxr-xr-x 1 pco pco 0 2010-08-31 08:46:44.000000000 +0100 a1.txt
-rwxr-xr-x 1 pco pco 0 2010-08-31 08:46:44.000000000 +0100 a2.txt
#
# a1.txt edited 
#
pco at rodan-desktop:/media/CORSAIR$ ls -l --time-style=full-iso a*
-rwxr-xr-x 1 pco pco 4 2010-08-31 10:12:37.000000000 +0100 a1.txt   # new time correct
-rwxr-xr-x 1 pco pco 0 2010-08-31 08:46:44.000000000 +0100 a2.txt
#
# a2 touched with a1 - this is the original situation where I discovered the error
#
pco at rodan-desktop:/media/CORSAIR$ touch -r a1.txt a2.txt
pco at rodan-desktop:/media/CORSAIR$ ls -l --time-style=full-iso a*
-rwxr-xr-x 1 pco pco 4 2010-08-31 10:12:37.000000000 +0100 a1.txt   # new time correct
-rwxr-xr-x 1 pco pco 0 2010-08-31 10:12:37.000000000 +0100 a2.txt   # touch works properly
pco at rodan-desktop:/media/CORSAIR$ cd ..
#
# memory stick removed and re-inserted
#
pco at rodan-desktop:/media$ cd CORSAIR
pco at rodan-desktop:/media/CORSAIR$ ls -l --time-style=full-iso a*
-rwxr-xr-x 1 pco pco 4 2010-08-31 10:12:36.000000000 +0100 a1.txt  # !!! time reported is one second less!!
-rwxr-xr-x 1 pco pco 0 2010-08-31 10:12:36.000000000 +0100 a2.txt  # for both files

ProblemType: Bug
Architecture: i386
Date: Tue Aug 31 16:42:07 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: software-center 1.0.3
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-22.63-generic
SourcePackage: software-center
Uname: Linux 2.6.31-22-generic i686

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: apport-bug i386
-- 
vfat file time incorrect on usb stick
https://bugs.edge.launchpad.net/bugs/627480
You received this bug notification because you are a member of Kernel Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list