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

FUSE? #211

Open
Jipok opened this issue Nov 4, 2024 · 4 comments
Open

FUSE? #211

Jipok opened this issue Nov 4, 2024 · 4 comments

Comments

@Jipok
Copy link

Jipok commented Nov 4, 2024

Will it be possible to implement fuse in the kernel in the future?
And does it make sense at all, i.e. will it be more efficient than userspace implementation?

@Jipok
Copy link
Author

Jipok commented Nov 4, 2024

I understand that I was not very precise in terminology. Because fuse is about userspace. But I think it is clear that I want to create my own file system

@lneto
Copy link
Contributor

lneto commented Nov 4, 2024

hi @Jipok, it's actually on my long-term TODO list ;-).. we would need to create bindings for that.. if you are interested in implementing this, I could definitely help.. a good starting-point, IMHO, would be to study the in-kernel FUSE support and figure it out what kernel APIs we would need to provide to the scripts..

will it be more efficient than userspace implementation?

we would need to measure.. and it would be a good academic experiment, IMHO.. my gutting feeling is that we indeed might be more efficient for some use cases

@Jipok
Copy link
Author

Jipok commented Nov 4, 2024

if you are interested in implementing this

Oh no. I never want to go back to C (or C++) again. If I do anything for the kernel, it will be on zig.

That was a theoretical question. I'm actually more interested in whether an overlayfs-like fuse might benefit from moving into the kernel. Your project could easily allow me to quickly try out the concept instead of suffering through kernel module development. Maybe I'll wait until you implement fuse and access to the file system.

@lneto
Copy link
Contributor

lneto commented Nov 5, 2024

Oh no. I never want to go back to C (or C++) again. If I do anything for the kernel, it will be on zig.

well.. it should be mostly boiler plate code and it will set you free from C ;-)

Maybe I'll wait until you implement fuse and access to the file system.

it might take a while then.. heh =)

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

No branches or pull requests

2 participants