Hi, all
How can I determine the size of one cluster in specified file system, such
as FAT32 or NTFS?
It is known that:
the Default Cluster Sizes can be decided by volume size.
for example(For NTFS):

Volume Cluster
0 to 512 MB ----- 512 bytes
513 MB to 1 GB ----- 1 KB
1025 MB to 2 GB ----- 2 KB
2 GB and greater ----- 4 KB
But how can I get this exact information from system (or some place on disk)?

Thanks a lot!

Re: How can I determine the size of one cluster? by Maxim

Maxim
Thu Mar 09 03:45:29 CST 2006

Can GetDiskFreeSpace/NtQueryVolumeInformationFile help?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"sherrylso" <sherrylso@discussions.microsoft.com> wrote in message
news:25160F51-A1C7-430C-A81B-413157ECA788@microsoft.com...
> Hi, all
> How can I determine the size of one cluster in specified file system, such
> as FAT32 or NTFS?
> It is known that:
> the Default Cluster Sizes can be decided by volume size.
> for example(For NTFS):
>
> Volume Cluster
> 0 to 512 MB ----- 512 bytes
> 513 MB to 1 GB ----- 1 KB
> 1025 MB to 2 GB ----- 2 KB
> 2 GB and greater ----- 4 KB
> But how can I get this exact information from system (or some place on disk)?
>
> Thanks a lot!
>
>
>
>


Re: How can I determine the size of one cluster? by sherrylso

sherrylso
Thu Mar 09 23:47:27 CST 2006

Thanks!


"Maxim S. Shatskih" wrote:

> Can GetDiskFreeSpace/NtQueryVolumeInformationFile help?
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "sherrylso" <sherrylso@discussions.microsoft.com> wrote in message
> news:25160F51-A1C7-430C-A81B-413157ECA788@microsoft.com...
> > Hi, all
> > How can I determine the size of one cluster in specified file system, such
> > as FAT32 or NTFS?
> > It is known that:
> > the Default Cluster Sizes can be decided by volume size.
> > for example(For NTFS):
> >
> > Volume Cluster
> > 0 to 512 MB ----- 512 bytes
> > 513 MB to 1 GB ----- 1 KB
> > 1025 MB to 2 GB ----- 2 KB
> > 2 GB and greater ----- 4 KB
> > But how can I get this exact information from system (or some place on disk)?
> >
> > Thanks a lot!
> >
> >
> >
> >
>
>