BTRFS Disk Format
Clean-room implementation of the btrfs disk format in Rust.
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 thealloc
feature inzerocopy
.std
: By default, the crate isno_std
. This enablesstd
features from thezerocopy
andstrum
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.