Likounsee/OpenFS ? reverse-engineered prompt

Reverse engineered prompt

Build me OpenFS, a small experimental file system project in Rust with some C code for the Windows side. I want it to create and manage its own disk image format, with a root folder, folders, files, basic read and write support, rename, delete, truncate, and a simple journal for recovery.

It should also include a command line tool so I can create an image, make folders, add files, write text into them, list the tree, and check that the image is valid. On Windows, keep the experimental Dokany support in mind, but don’t worry about a full native driver yet, just make the tools and core storage logic solid. If you need to, look up current docs online for Rust or Dokany details.

Please make the project build cleanly, keep the code organized, and add enough tests so I can try it safely on a disk image instead of a real drive.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab