#nine

app nine-memfs

A simple in-memory 9p filesystem

1 unstable release

0.2.0 Nov 6, 2018
Download history 6/week @ 2018-11-06

2 downloads per month

MPL-2.0 license

35KB
951 lines

nine-memfs

A simple in-memory 9p filesystem.

Currently only works over unix sockets, is single threaded, and probably* buggy.

* definitely buggy

TODO

  • exclusive open
  • permissions audit
  • numeric / size correctness audit

Edge cases to test

Dir bytes

  1. have a dir with some amount of children
  2. open the dir for reading, read some of the bytes
  3. invalidate the bytes somehow (write to child changing length, wstat child, etc.)
  4. read the dir again from where you left off

Dependencies

~1.5MB
~31K SLoC