Magento Expert Forum - Improve your Magento experience

Results 1 to 3 of 3

What is difference between SIZE and SIZE ON DISK in Windows?

  1. #1
    Moderator speed2x's Avatar
    Join Date
    Mar 2013
    Location
    Hollywood, Florida, United States
    Posts
    88
    Thanks
    8
    Thanked 7 Times in 6 Posts

  2. #2
    Administrator david's Avatar
    Join Date
    Nov 2012
    Posts
    264
    Thanks
    22
    Thanked 39 Times in 32 Posts

    Default

    Your question is what I wonder some years ago . The reason is quite simple. Files are stored on the disk in what is called called clusters (a group of disk sectors). Size on disk refers to the amount of cluster allocation a file is taking up, compared to file size which is an actual byte count. The lowest cluster size for FAT32 is 1, so if the actual file only needs a small portion of the cluster, the size on disk for that file will reflect the entire cluster as being used. This is why when you check the properties tab of a file, you will usually see the size on disk size is larger than the file size.

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    119
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    The document measure on plate would be 4096 bytes. So the real size of a file(s) or folder(s) ought to dependably be taken from the Size esteem when seeing the properties window. Source: What's The Difference Between Size And Size On Disk In Windows Folder Properties.

Similar Threads

  1. Check Size of a Directory in Linux Tips
    By david in forum PHP programming
    Replies: 1
    Last Post: 14-03-2019, 07:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •