Re: Large-FAT32-Filesystem Bug

From: Andreas Schwab
Date: Fri Dec 05 2003 - 20:11:31 EST


mru@xxxxxx (Måns Rullgård) writes:

> Andreas Schwab <schwab@xxxxxxx> writes:
>
>>>>> No problem. I put this patch together quite a while ago for
>>>>> my own use and never got around to sending it in. It removes
>>>>> a number of artificial fat32 limits, and allows files up to 4GB,
>>>>
>>>> Why only 4gb?
>>>
>>> That's what the 32 in fat32 means.
>>
>> No, it doesn't. It's about the number of bits in a cluster number, thus
>> the size of the filesystem. And that 32 is actually 28.
>
> OK, my mistake, but there is a 32 as in file size, right?

Yes, the size has always been a 32 bit field, even with fat12.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/