4 releases (stable)
1.3.0 | Jul 26, 2023 |
---|---|
1.2.1 | May 8, 2020 |
1.2.0 | Apr 28, 2020 |
0.1.2 | Apr 28, 2020 |
#1662 in Filesystem
27 downloads per month
Used in 3 crates
(2 directly)
12KB
54 lines
btrfsutil-sys
Raw bindings to libbtrfsutil.
Building
This library links to libbtrfsutil
, a shared library provided by installing btrfs-progs on most Linux systems.
- Arch Linux:
# pacman -S btrfs-progs
- Ubuntu:
# apt install libbtrfsutil1
(available since eoan)
Usage
Add this to your Cargo.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(CAP_SYSTEM_ADMIN).
License
MIT
Dependencies
~0–1.9MB
~37K SLoC