public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] VFAT problem
@ 2012-07-19 16:45 Helmut Jarausch
  2012-07-19 19:18 ` Paul Hartman
  2012-07-19 21:20 ` Mark Knecht
  0 siblings, 2 replies; 4+ messages in thread
From: Helmut Jarausch @ 2012-07-19 16:45 UTC (permalink / raw
  To: gentoo-user

Hi,

I have a Garmin GPS with a 32GB SD card.
If I attach my device to the USB port, a directory listing looks  
totally scrambled.
A listing of the smaller (2GB) 'internal' storage device is just fine.
And I am sure the listing of the bigger SD card has been fine earlier
when less storage was used.

The funny thing, looking at the same SD card from Windows7 (running in  
VirtualBox)
gives a perfect listing (about 28 GB are used).

What am I missing?

Many thanks for a hint,
Helmut.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] VFAT problem
  2012-07-19 16:45 [gentoo-user] VFAT problem Helmut Jarausch
@ 2012-07-19 19:18 ` Paul Hartman
  2012-07-19 21:20 ` Mark Knecht
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Hartman @ 2012-07-19 19:18 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 19, 2012 at 11:45 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> I have a Garmin GPS with a 32GB SD card.
> If I attach my device to the USB port, a directory listing looks totally
> scrambled.
> A listing of the smaller (2GB) 'internal' storage device is just fine.
> And I am sure the listing of the bigger SD card has been fine earlier
> when less storage was used.
>
> The funny thing, looking at the same SD card from Windows7 (running in
> VirtualBox)
> gives a perfect listing (about 28 GB are used).
>
> What am I missing?
>
> Many thanks for a hint,
> Helmut.

My first guess is FAT corruption (maybe windows reads second copy of
FAT?). Maybe try to do chkdsk from windows, or make a backup first
from there anyway. :)

My second guess is character encoding differences, but usually it
would not be so extreme. I mount vfat with options
codepage=437,iocharset=utf8 and it seems to usually give me proper
results for "international" filenames (although mount warns me every
time that this is unwise).



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] VFAT problem
  2012-07-19 16:45 [gentoo-user] VFAT problem Helmut Jarausch
  2012-07-19 19:18 ` Paul Hartman
@ 2012-07-19 21:20 ` Mark Knecht
  2012-07-20 14:28   ` Simon
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Knecht @ 2012-07-19 21:20 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 19, 2012 at 9:45 AM, Helmut Jarausch
<jarausch@igpm.rwth-aachen.de> wrote:
> Hi,
>
> I have a Garmin GPS with a 32GB SD card.
> If I attach my device to the USB port, a directory listing looks totally
> scrambled.
> A listing of the smaller (2GB) 'internal' storage device is just fine.
> And I am sure the listing of the bigger SD card has been fine earlier
> when less storage was used.
>
> The funny thing, looking at the same SD card from Windows7 (running in
> VirtualBox)
> gives a perfect listing (about 28 GB are used).
>
> What am I missing?
>
> Many thanks for a hint,
> Helmut.
>

Hi Helmut,
   Sorry for the problems. No real good ideas here, but assuming the
Win 7 VM is on the same Gentoo machine then it appears to be something
missing from Gentoo. I'd start by using the Win 7 disk tools:

Control Panel -> System & Security -> Create & format hard disk partitions

and look to see what Win 7 believes it's talking to.

   Also, make sure if you have the VM running that it isn't
automatically mounting the Garmin which would make the SD unavailable
to Linux. Handle that in the Virtualbox->Device menu.

   Best of luck. Sounds like an interesting problem, if that's possible.

Cheers,
Mark



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] VFAT problem
  2012-07-19 21:20 ` Mark Knecht
@ 2012-07-20 14:28   ` Simon
  0 siblings, 0 replies; 4+ messages in thread
From: Simon @ 2012-07-20 14:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]

This is just a vague idea but maybe it is formated as FATX or exFAT which
may be seen like FAT16 or FAT32 on linux, but windows recognises the real
fs type?  It's a wild guess...  You could try to reformat it in Linux and
try using it after in the GPS to see if it will work.

See here if you're curious:
http://en.wikipedia.org/wiki/File_Allocation_Table#FATX

Simon

On Thu, Jul 19, 2012 at 5:20 PM, Mark Knecht <markknecht@gmail.com> wrote:

> On Thu, Jul 19, 2012 at 9:45 AM, Helmut Jarausch
> <jarausch@igpm.rwth-aachen.de> wrote:
> > Hi,
> >
> > I have a Garmin GPS with a 32GB SD card.
> > If I attach my device to the USB port, a directory listing looks totally
> > scrambled.
> > A listing of the smaller (2GB) 'internal' storage device is just fine.
> > And I am sure the listing of the bigger SD card has been fine earlier
> > when less storage was used.
> >
> > The funny thing, looking at the same SD card from Windows7 (running in
> > VirtualBox)
> > gives a perfect listing (about 28 GB are used).
> >
> > What am I missing?
> >
> > Many thanks for a hint,
> > Helmut.
> >
>
> Hi Helmut,
>    Sorry for the problems. No real good ideas here, but assuming the
> Win 7 VM is on the same Gentoo machine then it appears to be something
> missing from Gentoo. I'd start by using the Win 7 disk tools:
>
> Control Panel -> System & Security -> Create & format hard disk partitions
>
> and look to see what Win 7 believes it's talking to.
>
>    Also, make sure if you have the VM running that it isn't
> automatically mounting the Garmin which would make the SD unavailable
> to Linux. Handle that in the Virtualbox->Device menu.
>
>    Best of luck. Sounds like an interesting problem, if that's possible.
>
> Cheers,
> Mark
>
>

[-- Attachment #2: Type: text/html, Size: 2404 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-20 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 16:45 [gentoo-user] VFAT problem Helmut Jarausch
2012-07-19 19:18 ` Paul Hartman
2012-07-19 21:20 ` Mark Knecht
2012-07-20 14:28   ` Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox