I have a file on Windows machine with this size and i need to caclulate file size on disk from file size:
Size 3,06 MB (3.216.171 bytes)
Size on disk 3,07 MB (3.219.456 bytes)
I have 512 bytes/sector file system
How to calculate how many sectors I need to use, to store the file from file size?
I understand 3219456 / 512 = 6288, but how to calculate size on disk from file size?
Thare is a way to get size on disc from file size?
I miss something?