5 releases

0.2.0 Nov 20, 2024
0.1.3 Nov 6, 2024
0.1.2 Sep 20, 2024
0.1.1 Sep 19, 2024
0.1.0 Jun 4, 2024

#268 in Filesystem

Download history 52/week @ 2024-09-13 287/week @ 2024-09-20 10/week @ 2024-09-27 10/week @ 2024-10-04 17/week @ 2024-10-11 2/week @ 2024-10-18 121/week @ 2024-11-01 30/week @ 2024-11-08 110/week @ 2024-11-15 32/week @ 2024-11-22 3/week @ 2024-11-29

206 downloads per month

MIT/Apache

155KB
4K SLoC

composefs-rs

This is a set of experiments exploring ideas around how to structure an on-disk composefs repository.

The main consumables here are:

  • a Repository class representing an on-disk composefs repository and the operations that can be performed on it. See the repository format documentation.

  • cfsctl: a command-line tool for performing operations on the repository via the above APIs.

  • (future?) some kind of a system service exposing those APIs to non-root users in a safe way.

The cfsctl mount command depends on (currently pre-release) Linux 6.12 for support for directly mounting erofs images without creating loopback devices.

The purpose of this is to iterate fast on some new ideas (without worrying about breaking existing composefs users) and also as a learning experience (as my first real Rust project).

Nothing here is currently expected to be useful to anybody at all, and probably never will be. If these experiments go well, this code will probably end up merged in other places.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~17–30MB
~462K SLoC