Posted by Ryan on Sunday, October 25, 2009 at 11:38am.
You are probably looking at the directory listing. Some list them as the real size, some list them as what has been assigned. Operating systems do not assign one byte at a time when the file needs to expand. Space is assigned in blocks, of which a common size is 512 bytes.
So as long as the content of the file does not exceed the last assigned block, the file size does not increase. Once it is exceeded, the operating system will assign an extra block of 512 bytes, thus your observation.
Related Questions
IT computer memory - Can someone check this for me please.. 18 MB of data are to...
MATH - Estimate the file size (21,500 bytes)as millions of bytes or megabytes.
IT - Can someone check this for me please.. 18 MB of data are to be transmitted ...
bookkeeping - Using your computer, you create a file for an existing costumer. ...
computer science - Q1)18 MB of data are to be transmitted over a 4 megabits per ...
Law - for my CSE 1010 course I solved every single problem in my text book. ...
statistics - The value of the z-score that is obtained for a hypothesis test is ...
operating system - in windows vista, how do you organize file list by file size?
English - 1. I saved the file on the computer. 2. I saved the file in the ...
computer science - Hi, i need to calculate download time for file which is 4GB ...
For Further Reading