answersLogoWhite

0


Best Answer

The size is exactly what it sounds like - the size of the file. The size on disk however is not quite as simple. Before I can answer that, we need to review some file system terminology. I'll be using the NTFS file system in these examples, but the same principles apply for most (if not all) other file systems. A cluster is the smallest amount of space that can be allocated on the file system. Cluster size indicates how large the cluster is. The default cluster size for an NTFS volume for a majority of drives around today is 4KB. The size of the volume does change the default cluster size, but for now, we'll assume 4KB. Let's say you have a file that is 1MB. Now, 1MB = 1024KB. So if we divide 1024 by 4 we will get the total number of clusters this file will occupy on the hard drive. In this case, that number is 256. Since these figures divide evenly with no remainder, the size on disk for this file is also going to be 1MB. Now let's use 1.2MB as our example file size. 1.2MB = 1228.8KB. Again, we'll divide 1228.8 by 4 to come up with 307.2. This means that the file will take up 307 whole clusters, and 20% of the last cluster. Since you can not allocate space smaller than a cluster, the entire cluster is considered to be in use. This is where the size on disk value is important. To calculate the size on disk, we have to round the number of clusters up, and then multiply by the cluster size. We'll take 308 * 4 to get 1232KB. In this case, the size will be 1228.8KB, but the size on disk will be 1232KB. So to summarize, the size value is the actual size, but the size on disk measures the amount of space each cluster of the file is going to occupy.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The other way around is more common, but this could happen with certain operating systems and/or file systems when storing a "sparse" file.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why size on disk is smaller than Size?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is size 8 smaller or larger than a size 10?

smaller


Is a 28AA bra size smaller than a 28A bra size?

28AA is smaller than a 28A


Is the size of Pluto the size of a house?

no but it is smaller than the moon


If a diagram is smaller then actual size it is a?

If a diagram is smaller than actual size it is called a reduction.


What is the size of the smallest dog?

It is smaller than the size of the palm of your hand...........


What is XS in UK size?

It's smaller than S size.


Lf a diagram is smaller then actual size it is a-?

If a diagram is smaller than its actual size it is called a reduction.


If you are smaller than a size 0 where can you get a formal ball gown?

Yes if you are smaller than size 0 you can get a formal ball grown ..


How big is a walkman mini disk?

It is much smaller than a CD player and can easily fit in your hand. The Walkman Mini disk can fit in most pockets and is the equivalent size of an iPod Touch.


What is the element size of bromine?

Its atom size is bigger than Chlorine but smaller than Iodine


Will margins of error for sample of size 80 be larger or smaller than those for sample size of 40?

They should be smaller for the sample size 80.


Is a hard disk greater in size than a CD?

Yes, a hard disk is much greater than a CD.