Windows in the "cluster" in Linux and "block" is the corresponding

A sector is a hard disk for the block is for the file system.

 

Cluster "also known as" dispensing unit ", the file system is the interface between the operating system and the driver, when the operating system requests to read a file from the hard disk, the file system will request the appropriate (FAT 16/32 / NTFS) Open file sector is the smallest physical disk storage unit, but the operating system can not address a large number of sectors, the operating system will be combined with adjacent sectors to form a cluster, then the clusters management. each cluster may comprise 2,4,8,16,32 or 64 sectors. obviously, the cluster is a logical concept used by the operating system, rather than the physical characteristics of the disk.

  To better manage disk space more efficiently, and the data read from the hard disk, the operating system can be placed in one cluster predetermined contents of a file, the file space occupied by only an integer multiple of clusters; and if the actual file less than the size of a cluster, it should also take up space in a cluster. Therefore, under normal circumstances documents footprint slightly larger than the actual size of the file, and only in a few cases, that is, the actual size of the file happens to be an integer multiple of the cluster, the actual size of the space occupied by the file will be exactly the same.


---------------------
Author: Du _ demon
Source: CSDN
Original: https: //blog.csdn.net/duyusean/article/details/78643475
copyright Disclaimer: This article is a blogger original article, reproduced, please attach Bowen link!

Guess you like

Origin www.cnblogs.com/Stephen-Qin/p/10962783.html