首页 | 主题 | 图库 | 问答 | 文摘 | 原创 | 百科

历史 | 地理 | 人物 | 艺术 | 体育 | 科学 | 音乐 | 电影 | 信息技术 | 世界遗产

 开放、中立,源自维基百科

Personal tools

File size

From Wikipedia, the free encyclopedia

Jump to: navigation, search

File size measures the size of a computer file. Typically it is measured in bytes with a prefix. The actual amount of disk space consumed by the file is dependent on the file system.

The maximum file size a file system supports depends on the number of bits reserved to store size information. For instance with FAT32 the size of a file can not exceed 4 GiB.

Some common file size units are:

  • 1 KiB = 1,024 bytes
  • 1 MiB = 1,048,576 bytes [1]
    • 1 GiB = 1,073,741,824 bytes [2]
      • 1 TiB = 1,099,511,627,776 bytes [3].

        These units are often described using the terms KB, MB, GB and TB respectively. This is technically wrong because the prefixes kilo, mega, giga and tera refer respectively to multiplication by 10^3, 10^6, 10^9 and 10^12. However the power-of-two based prefixes have yet to find widespread usage, so some ambiguity remains. For example, a hard disk which is described by its manufacturer as having a capacity of 200 GB will have a capacity very close to 200 * 10^9 bytes. However, when such a disk is freshly formatted and installed in a machine running Microsoft Windows XP, the operating system will report the size as approximately 186 GB (this figure might vary slightly depending on the exact capacity of the drive, which file system is used and so on). This is because Windows is actually reporting the size in GiB and 186 GiB is approximately equal to 200 GB.

        Notes

        1. ^ 2^20 = 1 048 576
        2. ^ 2^30 = 1 073 741 824
        3. ^ 2^40 = 1 099 511 627 776


        Look up File size in
        Wiktionary, the free dictionary.
        Find more about File size on Wikipedia's sister projects:
        Dictionary definitions
        Textbooks
        Quotations
        Source texts
        Images and media
        News stories
        Learning resources

        ko:파일 크기

AD Links