btrfsutil-sys

Crates.iobtrfsutil-sys
lib.rsbtrfsutil-sys
version1.3.0
sourcesrc
created_at2020-04-28 04:06:49.692609
updated_at2023-07-26 17:49:46.742153
descriptionRaw bindings to libbtrfsutil
homepage
repositoryhttps://github.com/cezarmathe/btrfsutil-sys
max_upload_size
id234856
size41,842
Alex Pearson (NAlexPear)

documentation

https://docs.rs/btrfsutil-sys

README

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

Commit count: 14

cargo fmt