Re: cluster size
- Posted by Kat <gertie at PELL.NET> Jan 26, 2002
- 448 views
On 26 Jan 2002, at 21:15, Dan Moyer wrote: > > Does anyone know how I can programmatically find out what is the minimum > cluster size used on a drive? I'm under the impression that it can vary, > since a small file (little bigger than a Kb) on one drive takes up 4096 > bytes, and the same file on another drive takes up 8192 bytes. Both drives > indicate FAT32 from fdisk. I think Euman did a include to get all the drive stats. > And am I right in thinking that it is cluster size rather than simply file > size that relates to how much of a drive is used up? In other words, if you > have a whole bunch of small files, each actually takes up (at least) one > cluster, so more of your drive may be used up than would seem so from just > adding up file sizes? Correct. The dos 8.3 filename takes up one slot, 9.3 takes up one more slot, and each 7chars over that will count as another filename slot too under fat32. Kat