Trying to make a simple file server for lobste.rs to learn 9P man.cat-v.org/plan_9/5/intro, should be fun

Follow

@glenda I've written a sample fs that might help with figuring things out, along with careful reading of the section 5 and 9p(2): src.a-b.xyz/rngfs

If it feels a bit too much I suggest you look a few commits back before I added write support, it was still simpler then. Eventually I'll have both the lite and full versions, with generous comments.

There's also /sys/src/lib9p/ramfs.c but its usage of 9pfile(2) obstructs a lot of important stuff.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko