mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
[FASTFAT] Support 64 KiB cluster sizes
FAT16 filesystem was not recognized on some 4GB USB flash drives. This change makes them just work. References: - https://chat.reactos.org/reactos/pl/h83pm5ngkffk7qiyrmqnaaopxh - https://support.microsoft.com/en-us/help/140365/default-cluster-size-for-ntfs-fat-and-exfat CORE-16511
This commit is contained in:
parent
21b56d77c6
commit
06d5ed7ece
|
@ -197,9 +197,9 @@ VfatHasFileSystem(
|
|||
}
|
||||
|
||||
if (*RecognizedFS &&
|
||||
Boot->BytesPerSector * Boot->SectorsPerCluster > 32 * 1024)
|
||||
Boot->BytesPerSector * Boot->SectorsPerCluster > 64 * 1024)
|
||||
{
|
||||
DPRINT1("ClusterSize %dx\n", Boot->BytesPerSector * Boot->SectorsPerCluster);
|
||||
DPRINT1("ClusterSize %d\n", Boot->BytesPerSector * Boot->SectorsPerCluster);
|
||||
*RecognizedFS = FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue