tpt-filesystem

Rust

Modern 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.

0 stars0 forks0 watchersApache License 2.0

Languages

Rust100.0%
README

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).

Status: pre-alpha. Design only. See SPEC.md and TODO.md.

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

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.