摘要 |
Methods and devices for managing and editing files in a file system are provided. In the method for managing data of a file in a file system, a storage space for storing the data of the file is divided into a plurality of blocks of identical size and sequentially numbered, wherein said blocks being organized in sequentially numbered chunks. And each chunk comprises at least one block. For a chunk, use first management data and second management data to record the size of space not occupied by data in the head part of the first block and in the end part of the last block of each chunk, subsequently to a deletion step of data within the file, the size of space being smaller than the size of a block. |