Raw bindings to libbtrfsutil.
This library links to libbtrfsutil
, a shared library provided by installing btrfs-progs on most Linux systems.
# pacman -S btrfs-progs
# apt install libbtrfsutil1
(available since eoan)Add this to your Cargo.toml
:
toml
[dependencies]
btrfsutil-sys = "1.2.1"
For further details, please refer to the documentation.
Also, please keep in mind that many of the operations this library can perform may require elevated privileges(CAPSYSTEMADMIN).
MIT