#btrfs #ioctl #macro #libbtrfsutil #information #subvolumes

libbtrfs

Library for working with btrfs subvolumes

7 releases

0.0.12 Apr 26, 2023
0.0.11 Apr 25, 2023

#445 in Filesystem

MIT license

130KB
2K SLoC

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


lib.rs:

Library for working with btrfs subvolumes in rust

Dependencies

~240KB