cluster size
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> Jan 26, 2002
- 451 views
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. 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? Dan Moyer