A new storage system try -Wofs
In the feeling of all the memory systems of the past, the burning disc is my favorite, although I have not burned a recorder, but the CDR engraving disc is a storage method that gives me a new feeling. I will talk about it. Burning CD As a kind of WRIM (Write Once Readly Memory), in fact, my favorite is still his WORO. Once the data is written, since theoretically, he will always exist, although such storage space utilization efficiency Low, however, the read speed is the RAM class memory that cannot be compared. In order to achieve sequential reading, the reading rate is improved. RAM memory often has a dedicated algorithm to manage memory space, of course, this part is from OS. Implemented .RAM hard drive (that is, ordinary hard drive) is implemented by "Disk Defragmentation". The WO in Worom determines that the data will not be replied, the sequential reading is a permanent thing. On the other hand, the problem is the security of data. Probably everyone has experienced experience. It is difficult to describe it. However, for WOROM in theory, there is no mistake to delete the problem. All data has Permanent preservation, of course, this is ideal, the media damage is added. SHADOWS as a storage method is needed to have enough new ideas to meet some people's needs, not necessarily to meet everyone's needs. The total capacity of the storage medium in Shadows is actually gradually increased with the addition of the new mailbox. And the cost of the storage medium is very low, relatively compared to implementing the WOFS-WRITE ONCE FILE SYSTEM. All Data uses a sufficiently long index mode, such as using several 32 bit of data items to determine one byte, and finally index all storage space. It is worth noting that worom is different from previous RAM storage methods, WOROM is not saving, so The amount of data will increase rapidly, and it is not suitable for all applications. Of course, for log files with high security requirements are a good choice, but for some disk cache files, such as Pagefile, it is a nightmare. So, as a supplement in the already stored method, Worom is more suitable for data backup classes. A more serious problem is the organization of FAT, and a data system should have several aspects of how to change. Worom should be higher than ordinary CDR. The system of the class provides the deletion of data. Otherwise, a total of the total files and total data are increasing storage systems. The query will be a more feet. And for Worom's deletion should be in FAT. Hands and feet, and should not directly delete the original data. This will inevitable in the future that requires data recovery. The FAT is not suitable for storage in Worom from the storage mode because it is often modified. Of course It doesn't mean Possible implementation. Data Transport: A WOROM is always required to replace the storage medium due to the limited length of the index, and the more difficult to query is always required. In general, when the storage medium is replaced, the original medium has saved a lot of data, only partially The data is unlealed with useful data, while other parts are only used to recover data. When the transfer, simply copy the unletyned data to the new media, and copy the FAT. WOROM used in previous use In permanent backup. Data recovery: This WOROM is a very important application way, providing high data security, when a file is mistaken, you can find a file by looking up each cluster, and then recover through cluster connection Whole document. Data leak security: This is a weak aspect of Worom, although it is easy to provide an API function for permanently deleting a data file, but in fact, there will always be some self-righteous shared software authors will use This API provides a so-called "space reuse" and other functions, which in turn destroys the data recovery characteristics of Worom, so on the one hand, the data of the WOROM data should be encrypted, improve the access security of the storage medium, and the like. Alternatively, it is to provide an API to delete a file, and the data area will be abandoned after deleting, it is impossible to reuse, preventing Worom from going back to the old road of RAM. I thought about this today, I am still working hard. Check the interface information of FS, very bad, I hope everyone can wish me to find it as soon as possible. Now there is a 2 road, one is to provide the application with VFS (Linux virtual file system interface), but also implement the POSIX file system interface .