Package: mount
Version: 2.16.2-0
Severity: important
Tags: l10n squeeze
I have recently done a dist-upgrade from lenny to squeeze. I have noticed that
the file modification times (ls -l) on a mounted VFAT USB disk are offset by
the two-hour difference between my local time (MET-1METDST) and UTC (AFAIK
this was not the case on lenny)
A file that was created on a Windows XP computer at 18:00 local time shows up
with a file time of 20:00.
This situation is not changed by specifiying the mount option tz=UTC, so it
seems that the VFAT partition is by default mounted with timezone set to UTC
(Unfortunately there exists no tz=local mount option)
I am running with the HW clock set to UTC,
and my /etc/default/rcS setting is :
TMPTIME=0
SULOGIN=no
DELAYLOGIN=no
UTC=yes
VERBOSE=no
FSCKFIX=no
RAMRUN=no
RAMLOCK=no
The relevant dmesg output is
[45371.708030] usb 1-4: new high speed USB device using ehci_hcd and address 4
[45371.840888] usb 1-4: New USB device found, idVendor=1aa6, idProduct=0201
[45371.840895] usb 1-4: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[45371.840898] usb 1-4: Product: USB DISK
[45371.840901] usb 1-4: Manufacturer: USB DISK
[45371.840904] usb 1-4: SerialNumber: 000000020004577
[45371.841048] usb 1-4: configuration #1 chosen from 1 choice
[45371.843249] scsi4 : SCSI emulation for USB Mass Storage devices
[45371.843518] usb-storage: device found at 4
[45371.843520] usb-storage: waiting for device to settle before scanning
[45376.844783] usb-storage: device scan complete
[45376.845281] scsi 4:0:0:0: Direct-Access USB DISK USB DISK 2.00
PQ: 0 ANSI: 0
[45376.852773] sd 4:0:0:0: [sda] 8177664 512-byte logical blocks: (4.18
GB/3.89 GiB)
[45376.853266] sd 4:0:0:0: [sda] Write Protect is off
[45376.853272] sd 4:0:0:0: [sda] Mode Sense: 03 00 00 00
[45376.853275] sd 4:0:0:0: [sda] Assuming drive cache: write through
[45376.855125] sd 4:0:0:0: [sda] Assuming drive cache: write through
[45376.855133] sda: sda1
[45376.858623] sd 4:0:0:0: [sda] Assuming drive cache: write through
[45376.858630] sd 4:0:0:0: [sda] Attached SCSI removable disk
Output of fdisk -l /dev/sda :
Disk /dev/sda: 4186 MB, 4186963968 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x49e2a461
Device Boot Start End Blocks Id System
/dev/sda1 * 1 510 4088319+ b W95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 1, 1) logical=(0, 16, 17)
Partition 1 has different physical/logical endings:
phys=(509, 254, 63) logical=(509, 9, 11)
This bug seems to be related to Ubuntu Bug #426886
(https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/426886).
Default timezone for VFAT should be local, as any UTC
partitions can be mounted with tz=UTC (it seems UTC is the only tz option
currently accepted, 'local' cannot be enforced)
Changing UTC to 'no' as suggested in some forum posts is IMHO not an option
as running with the HW clock set to UTC is the correct way .
Best regards,
Oswald Maenner
-- System Information:
Debian Release: squeeze/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mount depends on:
ii libblkid1 2.16.2-0 block device id library
ii libc6 2.10.2-6 Embedded GNU C Library: Shared
lib
ii libselinux1 2.0.89-4 SELinux runtime shared libraries
ii libsepol1 2.0.40-2 SELinux library for manipulating
b
ii libuuid1 2.16.2-0 Universally Unique ID library
mount recommends no packages.
Versions of packages mount suggests:
ii nfs-common 1:1.2.1-3 NFS support files common to
client
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]