FUSE is just an API that allows userspace filesystem drivers to talk to the Linux (and BSD?) kernel VFS. If you're designing a new filesystem for your OS, you won't be able to get away from writing both a filesystem driver and a VFS.zap8600 wrote:What I could do is make a disk image, make a FUSE driver, open the image with the driver, make a file, close the image, and open the image in a hex editor. Then I could look at the file and, if I ever get disk access working, implement my own way to read files.
It might be a good idea to write your filesystem for Linux using libfuse first, so you can test your filesystem code and design outside of your OS.
You probably want a RAM drive. Making one is pretty simple: allocate some memory, and pretend the contents of that memory are on a disk. When your filesystem driver asks to read or write a block, you read or write from that allocated memory instead of from a hard drive.zap8600 wrote:If there is a way to make files with inodes without needing disk access, I would like to know. That would be much appreciated.