Replies: 1 comment 1 reply
-
|
how would ABI function in that idea? would there be some real spec compliance in terms of those "drivers"? like said "web hid driver", would it follow some kind of common ruleset, thus allowing integration of existing software? there was a mention of C/C++, but would the project be limited to WASM layer or would it include some kind of processor emulation? this question is tied to my first question about the ABI. I like the idea behind syscalls usage here. what kind of information would be populated in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I wanted to share my plans and thoughts on what's next for ZenFS.
The Problem
At a high level, I'm really interested in adding features that bring ZenFS closer to native Linux. This includes unix sockets, procfs, sysfs, linear memory stuff like /dev/mem, and TTYs (which actually use sockets).
The primary problem with implementing all of these features is that they are fundamentally part of a kernel, not file systems. This problem has occurred with past features, and is the largest blocker of #222. Up until now, features have been implemented in a way that avoids implementing large portions of a kernel. Consequently, existing features are analogous to kernel features, but not fully featured. For example, procfs is based on processes. Linux processes exist as part of a kernel and are a lot more complex than the existing contexts feature.
The solution
I've thought a lot about this problem, and found a solution that I believe offers the most flexibility, modularity, and maintainability.
If you've read the ZenFS docs, you'll know that the current codebase is generally divided into two layers:
* In this context, internal refers to being conceptually "behind" the VFS— many parts of the "Internal API" are public and exposed.
This has helped separate concerns and worked out well for making ZenFS modular. We can expand upon this design by presenting different frontends for ZenFS.
This diagram visualizes the idea well:

The Plan
Let's talk about the concrete steps that will be taken in the future:
@zenfs/corepackage in the futureThis will all take months, so any help would be awesome.
The Future
After migrating to the new architecture, there are some really cool things we can do:
The Discussion
I want this to be seamless and easy. If you have any thoughts on this, please drop a comment! I'm always happy to get feedback and would really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions