Continuation of below question
Why Same File Shows Different Sizes in Different Operating Systems
Can both the files sizes be made the same. Guide me on how dis can be achieved.
Continuation of below question
Why Same File Shows Different Sizes in Different Operating Systems
Can both the files sizes be made the same. Guide me on how dis can be achieved.
To expand on whatever you missed in the original answer... they ARE exactly the same size. The sizes are being displayed using different metrics. The units they are counting are different. In the post you linked in a comment the person answering even mentions how you can get the "du" command in linux to display using the same metric as windows is using which is actually a Kibibyte, Mebibyte, or Gibibyte depending on what you are looking at.
Yes, as @Mudit said different os uses different file structure. The different file structure which uses different the size of space for storaging files. The windows os uses NTFS partition and The linux os uses ext3 or ext4 partition. so you can find that the same file shows different sizes in different operating systems.
du -b filename
command to get exact size. And it is the same size in windows. So you are right. I am sorry for the wrong answer. But i think that the size of file and the size of file's space usage on disk are different。 right?
Jan 21, 2015 at 9:11