From 58871282fd286aa4d68dcdd3b9515db245f0d54a Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Fri, 30 May 2008 20:59:56 +0000 Subject: [PATCH] Added more cluster size values. Spotted by GreatLord For more informations: http://support.microsoft.com/kb/140365/en-us svn path=/trunk/; revision=33780 --- reactos/drivers/filesystems/ntfs/fsctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/filesystems/ntfs/fsctl.c b/reactos/drivers/filesystems/ntfs/fsctl.c index ab53c79a0a4..bfca017bf18 100644 --- a/reactos/drivers/filesystems/ntfs/fsctl.c +++ b/reactos/drivers/filesystems/ntfs/fsctl.c @@ -141,7 +141,9 @@ NtfsHasFileSystem(PDEVICE_OBJECT DeviceToMount) /* Check cluster size */ ClusterSize = BootSector->BPB.BytesPerSector * BootSector->BPB.SectorsPerCluster; if (ClusterSize != 512 && ClusterSize != 1024 && - ClusterSize != 2048 && ClusterSize != 4096) + ClusterSize != 2048 && ClusterSize != 4096 && + ClusterSize != 8192 && ClusterSize != 16384 && + ClusterSize != 32768 && ClusterSize != 65536) { DPRINT1("Cluster size failed: %hu, %hu, %hu\n", BootSector->BPB.BytesPerSector, BootSector->BPB.SectorsPerCluster,