If there's nothing readily available online, my first idea would be to skim over the source for a few different already existing filesystem drivers.
https://github.com/gotoco/dummyfs
Maybe this will help?
If there's nothing readily available online, my first idea would be to skim over the source for a few different already existing filesystem drivers.
https://github.com/gotoco/dummyfs
Maybe this will help?