系统盘压缩卷小于可用空间
可用空间管理 (Free space management)
As we know that the memory space in the disk is limited. So we need to use the space of the deleted files for the allocation of the new file. one optical disk allows only one write at a time in the given sector and thus it is not physically possible to reuse it for other files. The system maintains a free space list by keep track of the free disk space. The free space list contains all the records of the free space disk block. Thee free blocks are those which are not allocated to other file or directory. When we create a file we first search for the free space in the memory and then check in the free space list for the required amount of space that we require for our file. if the free space is available then allocate this space to the new file. After that, the allocating space is deleted from the free space list. Whenever we delete a file then its free memory space is added to the free space list.
众所周知,磁盘中的存储空间是有限的。 因此,我们需要使用已删除文件的空间来分配新文件。 一个光盘一次只能在给定扇区中进行一次写操作,因此在物理上不可能将其重用于其他文件。 系统通过跟踪可用磁盘空间来维护可用空间列表。 可用空间列表包含可用磁盘块的所有记录。 空闲块是未分配给其他文件或目录的块。 创建文件时,我们首先在内存中搜索可用空间,然后在可用空间列表中检查文件所需的空间量。 如果可用空间可用,则将该空间分配给新文件。 之后,分配空间将从可用空间列表中删除。 每当我们删除文件时,它的可用内存空间就会添加到可用空间列表中。
The process of looking after and managing the free blocks of the disk is called free space management. There are some methods or techniques to implement a free space list. These are as follows:
照顾和管理磁盘的空闲块的过程称为空闲空间管理。 有一些方法或技术可以实现空闲空间列表。 这些如下:
Bitmap
位图
Linked list
链表
Grouping
分组
Counting
数数