tomaka / redshirt

🧑‍🔬 Operating system
GNU General Public License v3.0
1.43k stars 37 forks source link

A filesystem is needed for wasi support #418

Open tomaka opened 4 years ago

tomaka commented 4 years ago

Wasi makes it possible for programs to access files. Right now there is no interface that gives access to files, and as a temporary solution the wasi handler simulates a small filesystem in memory at the moment.

Just like Linux does, the root directory of the file system could represent the various reasons why one may want to store a file. For example, it could be something like:

I'm not opposed to adding "magic" files (i.e. files that aren't actually files, like system metrics), but it might increase the number of interfaces we depend upon, and it would be annoying if users started by read files rather than using strongly-typed interfaces.

tomaka commented 4 years ago

Plan of actions: