Crates.io | btrfsutil-fake |
lib.rs | btrfsutil-fake |
version | 0.2.0-8324fe2 |
source | src |
created_at | 2023-10-02 18:58:46.251059 |
updated_at | 2023-10-02 19:07:21.918262 |
description | Safe wrappers for libbtrfsutil. |
homepage | |
repository | https://github.com/cezarmathe/btrfsutil-rs |
max_upload_size | |
id | 990339 |
size | 87,199 |
Safe wrappers for libbtrfsutil.
This library links to libbtrfsutil
, a shared library provided by installing btrfs-progs on most Linux systems.
pacman -S btrfs-progs
apt install btrfs-progs
Add the latest version to your project with:
cargo add btrfsutil
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
).
Examples require elevated privileges. Environment variables can be used to run examples with sudo
, like so:
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' cargo run --example subvolume_iterator_info