btrfs-diskformat 0.5.1

An implementation of the BTRFS disk format.
Documentation

BTRFS Disk Format

Crates.io Crates.io

Clean-room implementation of the btrfs disk format in Rust.

Documentation

License

btrfs-diskformat is distributed under the terms of the BSD 2-Clause license.

See the LICENSE-BSD file in this repository for more information.

Cargo Features

  • alloc: Enables allocation and the alloc feature in zerocopy.
  • std: By default, the crate is no_std. This enables std features from the zerocopy and strum dependencies.

Contributing

Because this codebase is developed without knowledge of the Linux btrfs source code and is released under a more permissive license(s) than GPLv2, development is heavily dependent on information released on the btrfs wiki and reverse engineering the effects of operations made by btrfs-progs and other utilities. As a result, contributions to this codebase must strictly follow the same siloed approach.