1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Size on Disk

Discussion in 'Legacy Windows' started by subverse, 2002/03/12.

Thread Status:
Not open for further replies.
  1. 2002/03/12
    subverse

    subverse Inactive Thread Starter

    Joined:
    2002/03/12
    Messages:
    1
    Likes Received:
    0
    OK.

    1. In file properties, what is the difference between "file size" and "size on disk "?

    2. Which size do I trust when view the size of a web page and an image directory. Which file size is the actual download size?

    Thanks

    Mathew
     
  2. 2002/03/12
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    This is part of the inherent confusion when we try to interface with computer type people. A megabyte is typically 1048576 bytes to them and a kilobyte is 1024 bytes. We common mortals like to think of things in the decimal tradition whereas a meg is 1,000,000 and a kilo is 1,000. It usually doesn't matter and sometimes the people selling their products choose the decimal system to make their product seem larger than it would otherwise.

    You can use the conversion ratio of .9536743 to multiply the decimal value and get the binary equivalent. Conversely you can use the reciprocal of that, 1.048576 to multiply the binary value and get the decimal equivalent.

    As to telling you who is using what term at any given time, I wouldn't want to guess. I don't trust any of them. ;)

    Then there's the byte versus bit confusion and who's using what term there. That's a whole 'nother mess. :)
     

  3. to hide this advert.

  4. 2002/03/12
    unixfan

    unixfan Inactive

    Joined:
    2002/01/26
    Messages:
    282
    Likes Received:
    0
    Files are stored in units of space called clusters. Depending on the file system (NTFS or FAT32) and the size of the partition, the cluster size varies.

    If using NTFS, for example, the default cluster size is 4KB so a small file (up to 4KB) uses one cluster or 4KB - even a one byte file takes 4KB. A file larger than 4KB say 6KB, takes two clusters, or 8KB, and so on.

    So "Size on Disk" is always larger than the actual size of the files, unless all your files are exact multiples of your cluster size.
     
    Last edited: 2002/03/12
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.