tpt-filesystem
RustModern copy-on-write filesystem in Rust with end-to-end checksums, snapshots, and an intent log. Core data structures are formally verified with tpt-proof. FUSE-first, and builds on Linux, macOS, and Windows. MIT/Apache-2.0. Pre-alpha.
Languages
tpt-filesystem
A modern, general-purpose Copy-on-Write filesystem aiming for feature parity with ext4, Btrfs, and ZFS, with formally verified core data structures (via tpt-proof).
Goals
- Copy-on-Write metadata and data with an intent log for
fsync()durability - End-to-end checksums (CRC32C default, SHA-256 optional)
- Snapshots, subvolumes, compression, quotas, multi-device support (planned)
- Linux integration via FUSE first; core builds on Linux, macOS, and Windows
- Permissively licensed, with no GPL or CDDL code in this repository
Repository layout
crates/ Workspace crates (core, posix, fuse, mkfs, fsck, scrub, manage, bench)
proofs/ Formal verification specs (tpt-proof)
tests/ Integration tests (loopback, corruption, concurrency, crash recovery)
SPEC.md Design specification
TODO.md Task checklist
DEPENDENCIES.md Dependency license audit log
deny.toml cargo-deny license policy
Building
Uses the stable Rust toolchain set in rust-toolchain.toml. A minimum supported Rust version has not been chosen yet (see TODO.md).
cargo build --workspace
cargo test --workspace
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Copyright (c) TPT Solutions.