Answer the question
In order to leave comments, you need to log in
How to calculate how many bytes a folder with files will take, with a different cluster size in the FAT32 file system?
Greetings to all, it is very necessary to understand if there is a formula, software in the form of a utility, a script to find out how much a specific folder with files (short names and folders and files in it, if it is important) will occupy on a disk with the FAT32 file system, to For example, I will find out how much it takes on a disk with a cluster size of 4Kb, how to calculate the size of the same folder, but projecting onto the cluster size of 8,16,32 Kb? Do not format the media all the time !?
Answer the question
In order to leave comments, you need to log in
You can roughly estimate as the total size of files + (number of files * cluster size) / 2
But this is assuming average files in a vacuum. Maybe you have a billion files of one hundred bytes there. Or vice versa, some special files of exactly the same size of exactly 1 MB
Well, if you know the size of all files, you can calculate how much each file will take on different clusters
. Just knowing the size with one cluster, you can’t say how much it will be in other sizes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question