# libbtrfs
This library contains rust redefinitions of many of the macros and
structures used by the btrfs filesystem. This is done to allow rust
programs to interact directly with btrfs without needing to link any
external C librarys. This library also contains utilites simmiar to
[libbtrfsutil](https://github.com/kdave/btrfs-progs/tree/master/libbtrfsutil)
but written in rust and intened to be used by rust programs. These
utilites wrap raw btrfs ioctls to make working with btrfs subvolumes with
rust easier. more information on btrfs ioctls can be found here. [btrfs-ioctl(3)](https://btrfs.readthedocs.io/en/latest/btrfs-ioctl.html)