Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] VFAT problem
Date: Thu, 19 Jul 2012 19:21:18
Message-Id: CAEH5T2OUtv1uK_8oJgCU62jAz1R8ZJb4B1NY2X2iSSMvnZr6hQ@mail.gmail.com
In Reply to: [gentoo-user] VFAT problem by Helmut Jarausch
1 On Thu, Jul 19, 2012 at 11:45 AM, Helmut Jarausch
2 <jarausch@××××××××××××××××.de> wrote:
3 > Hi,
4 >
5 > I have a Garmin GPS with a 32GB SD card.
6 > If I attach my device to the USB port, a directory listing looks totally
7 > scrambled.
8 > A listing of the smaller (2GB) 'internal' storage device is just fine.
9 > And I am sure the listing of the bigger SD card has been fine earlier
10 > when less storage was used.
11 >
12 > The funny thing, looking at the same SD card from Windows7 (running in
13 > VirtualBox)
14 > gives a perfect listing (about 28 GB are used).
15 >
16 > What am I missing?
17 >
18 > Many thanks for a hint,
19 > Helmut.
20
21 My first guess is FAT corruption (maybe windows reads second copy of
22 FAT?). Maybe try to do chkdsk from windows, or make a backup first
23 from there anyway. :)
24
25 My second guess is character encoding differences, but usually it
26 would not be so extreme. I mount vfat with options
27 codepage=437,iocharset=utf8 and it seems to usually give me proper
28 results for "international" filenames (although mount warns me every
29 time that this is unwise).