On Thu, Jun 19, 2025 at 11:49 PM Viacheslav Dubeyko <Slava.Dubeyko@xxxxxxx> wrote: > > But I would like to implement the step-by-step approach. Like Benno mentions, it is hard to say how it will look with your description, i.e. how you plan to "cut" things. On one hand, it sounds like you don't plan to write VFS abstractions -- did you check Wedson's work? https://lore.kernel.org/rust-for-linux/20240514131711.379322-1-wedsonaf@xxxxxxxxx/ i.e. it sounds like you want to replace parts of e.g. HFS with Rust code while still going through C interfaces at some places inside HFS, and that has downsides. On the other hand, you mention "abstractions" around VFS concepts too, so you may have something else in mind. > Frankly speaking, I don't see how Read-Only version can be easier. :) Because, > even Read-Only version requires to operate by file system's metadata. And it's > around 80% - 90% of the whole file system driver functionality. From my point of > view, it is much easier to convert every metadata structure implementation step > by step into Rust. Well, apart from having to write more operations/code, as soon as there may be writers, you have to take care of that possibility in everything you do, no? Worst of all, I imagine you have to test (and generally treat the project) way more carefully, because now your users could lose real data. Cheers, Miguel