-
Notifications
You must be signed in to change notification settings - Fork 36
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
Using liberofs #335
Comments
I could help for composefs after I sort out apis mess...
|
Heh yeah, understood...as I like to say in C one needs to work hard not to leak memory, in Rust one needs to work hard to leak memory. That said, any reason you're not using |
Rust is a great thing. Yet Rust is still not quite portable and syntax-stable compared to C and at an early stage of Linux distribution ecosystems (Rust crates vs C libararies). I don't have enough time to maintain several language implementaions (some other people asked for Go implementation) mainly due to active development. But if any volunteer I'd happy to enbrace them.
Not for any particular reason (as long as |
No interest in Go from me, but certainly if I had started composefs it would have been in Rust and I maintain higher level Rust crates here. That said, I did recently come across https://github.com/ToolmanP/erofs-rs - not sure if you saw that. I only very superficially skimmed the code, it looked decent. |
Yeah, I totally understand you aren't interested.
Yeah, I noticed that, but it still need some time to form a proper one for erofs-utils integration. |
It came up in a discussion that perhaps instead of composefs having its own "write EROFS" code we could reuse liberofs from https://github.com/erofs/erofs-utils/
These are just the things I'm thinking about:
mkcomposefs
accepts today will result in a bit for bit compatible output going forward. Now it seems unlikely mkfs.erofs would change what it does by default, but if it ever did we'd need an option to control that.lcfs_write_to
effectively promises to operate in terms of streaming. I think it wouldn't be too hard to bridge these two, but still a concern.Combining these things, I think it's potentially viable for us to investigate vendoring portions of liberofs to start.
The text was updated successfully, but these errors were encountered: