摘要 |
A file managing apparatus and a method using the assignment of virtual blocks are provided to support the compatibility with an existing file system and prevent operation speed from being reduced by reducing the number of logs. A file managing apparatus using the assignment of virtual blocks includes a block map(100), a log area(400), a virtual assignment unit(500) and a block assignment unit(300). The block map is a set of mapping blocks which store information regarding data blocks. The log area records logs during the expansion of the mapping block. The virtual assignment unit starts a search in the block map in case that the expansion of connection of a plurality of data blocks for the same file is expected, virtually assigns the empty mapping blocks, and records the logs which correspond to the assigned blocks. The block assigning unit expands files by using the mapping block virtually assigned in the virtual assignment unit.
|