#bindings #libbtrfsutil #btrfsutil

sys btrfsutil-sys

Raw bindings to libbtrfsutil

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

#1340 in Filesystem

Download history 25/week @ 2024-02-19 22/week @ 2024-02-26 7/week @ 2024-03-04 15/week @ 2024-03-11 12/week @ 2024-03-18 16/week @ 2024-03-25 28/week @ 2024-04-01

57 downloads per month
Used in 3 crates (2 directly)

MIT license

12KB
54 lines

btrfsutil-sys

Build Status btrfsutil-sys docs libbtrfsutil version

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.8MB
~37K SLoC