btrfs-uapi 0.3.0

Wrappers around the btrfs userspace interface (ioctls and sysfs)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# btrfs-uapi

Safe Rust wrappers around the btrfs kernel interface (ioctls and sysfs).

This is the low-level crate that talks to the kernel. If you are building
a tool that manages btrfs filesystems on Linux, this is the crate to depend
on. It provides typed, safe APIs for every btrfs ioctl and sysfs entry,
with no `unsafe` in the public API.

Requires Linux. Most operations require `CAP_SYS_ADMIN`.

Part of the [btrfs-progrs](https://github.com/rustutils/btrfs-progrs) project.