Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide high-level API #39

Open
ubnt-intrepid opened this issue Nov 21, 2019 · 2 comments
Open

provide high-level API #39

ubnt-intrepid opened this issue Nov 21, 2019 · 2 comments

Comments

@ubnt-intrepid
Copy link
Owner

The current library implementation focuses on porting the libfuse's low-level API (described in fuse_lowlevel.h). and the convenience from the perspective of the user's side of the filesystem implementors is not considered.

In order to grow this project as a more use-friendly FUSE framework, it is needed to hide the protocol details and provide the higher-level API for filesystem authors (here, the term "high-level" is different from what used in libfuse and it is not a path-based API).

@ubnt-intrepid
Copy link
Owner Author

@inodentry
Copy link

Yes, I am currently trying to learn polyfuse-tokio and implement a sysfs/debugfs inspired pseudo fs for a tokio-based daemon I am writing, to allow controlling it at runtime using regular shell commands. As I am going through the examples to learn the API, it feels like there would be a lot of potential for crating some nice rusty abstractions (possibly with proc macros) for such use cases.

If it was easy to create such pseudo-filesystems to expose the internals of a program, it could become a very convenient way of adding a runtime control interface to tokio-based applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants