论文部分内容阅读
簇(cluster)的大小,其值是以扇区为单位。在软盘,1个簇一般为1或2个扇区,在硬盘上可能多达4、8甚至16、32、64(一个簇就有32K那么大)以上。 簇是最小的数据储存单位,假设某个硬盘的簇为32KB,一个文件只有3bytes,但是它将占掉一个簇,剩下的32K-3=32765bytes是无法被其他文件所使用的。同样道理50KB的文件将占用2个簇。 这就是说簇越大,浪费的磁盘空间就越多。为什么不使用扇区来作最小的储存单位呢?因为DOS可以以扇区为单位来管理磁盘,为扇区做读写动作,将扇区标示为使用中、未用或损坏。但当磁盘容量大到某个程度时,扇 区数目亦非常大,如此对DOS将造
The size of a cluster whose value is in sectors. A floppy disk, a cluster is generally 1 or 2 sectors, the hard disk may be as much as 4,8 or even 16,32,64 (a cluster is 32K so much) above. Cluster is the smallest data storage unit, assuming a cluster of 32KB hard drive, a file is only 3bytes, but it will account for a cluster, the remaining 32K-3 = 32765bytes can not be used by other files. The same reason 50KB file will occupy 2 clusters. This means that the larger the cluster, the more wasted disk space. Why not use the sector as the smallest storage unit? Because DOS can manage the disk as a sector, read and write sectors for the action, the sector is marked as in use, unused or damaged. However, when the disk capacity to a certain extent, the number of sectors is also very large, so the DOS will be made