Expand description
§btrfs-disk: on-disk format parsing for btrfs filesystems
This crate reads and parses btrfs on-disk structures directly from block devices or image files, without going through the kernel. It covers superblock parsing, and will eventually include tree node and leaf parsing.
Unlike btrfs-uapi (which wraps Linux-only ioctls), this crate is
platform-independent: any system that can read raw bytes from a block
device or image file can use it.
Modules§
- chunk
- Chunk: logical-to-physical address mapping for btrfs filesystems
- items
- Items: typed Rust structs for btrfs tree item payloads
- raw
- Raw bindgen output for btrfs on-disk structures
- reader
- Reader: block device reader with logical-to-physical address resolution
- superblock
- Superblock: reading and parsing the btrfs superblock from a block device
- tree
- Tree: parsing btrfs B-tree nodes and leaves from raw blocks
- util
- Utilities: shared parsing helpers for on-disk structures