Re: [bugreport] vfat: Unmountable FAT32 Partition

From: Kurt Roeckx (Q@ping.be)
Date: Thu Mar 23 2000 - 15:23:12 EST


On Thu, Mar 23, 2000 at 09:00:02PM +0100, Andries.Brouwer@cwi.nl wrote:
>
> Kurt Roeckx <Q@ping.be>:
>
> > I've had the same problem.
> > The problem is that the clustersize is 4K for partitions upto 8 GB,
> > then it changes to 8K I think, which linux doesn't seem to allow.
>
> Before we invent a problem:
>
> (i) Andreas sent the first 128 sectors of his /dev/hda3,
> and they were all equal, with data that looked like
> random garbage. Maybe something is terribly wrong with Linux,
> but for the time being I suppose that this is just a random
> test pattern written by the manufacturer, and that this /dev/hda3
> has never been formatted.

I currently only have a 6 GB FAT32 partition, you can read things like
"MSWIN4.1", and "FAT32" in the first 100 bytes. If it doesn't contain
those, I doubt it's formatted. If it's not formatted, it's pretty normal
that you can't mount it, and get an error like that.

> (ii) You say potential problems start at 8 GB.
> But Andreas' partition was just below 7 GB.

It could be formatted using different block size, I think there is some
option you can give somewhere, but I forgot.

> On the other hand, if there really is a problem, reproducible
> and verifiable, then it will probably be easy to fix.

Someone that has some disk he can play with can format a partition with a
fs bigger then 8 GB? (or different blocksize then 4K)

I agree that it's probably something easy to fix if it's just the cluster
size the kernel doesn't like.

Kurt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:39 EST