Wedson Almeida Filho of Microsoft offered for discussion on the Linux kernel developer mailing list the second version patches with a set of bindings over the VFS subsystem, intended for the development of file systems operating in read-only mode in the Rust language. Along with the bindings, two drivers created on their basis were published with the implementation of ext2 and tarfs file systems operating in read-only mode. Unlike the previously available implementation of the Ext2 FS in the Rust language – ext2-rs, the new option works at the kernel level (module rust_ext2), and not in user space. Driver rust_ext2 contains about 700 lines of Rust code and can be used as a starting point for developing more complex FS implementations such as Ext4.
File system tarfs allows you to mount archives in Tar format as a file system. The driver uses the index attached to the tar files to navigate through the files inside the archive without searching through all the contents.
Separately, another FS is being developed in the Rust language, which uses the proposed abstraction layer – PuzzleFS. PuzzleFS is designed to host isolated containers and has features such as efficient storage of duplicate data, direct mount capability, repeatable image builds, very fast image builds and mounts, the ability to use an optional intermediate stage for canonicalization of images, and the optionality of full passes through the file system tree. when using a multi-layer structure and overlaying changes in casync style.
Thanks for reading: