btrfs-cli 0.1.0

A Rust implementation of the btrfs command-line tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# btrfs-cli: a Rust reimplementation of the btrfs command-line tool

This crate provides the `btrfs` command-line binary, a Rust reimplementation
of [btrfs-progs](https://github.com/kdave/btrfs-progs). It is built on top
of [`btrfs-uapi`](../uapi) for kernel communication and
[`btrfs-disk`](../disk) for direct on-disk structure parsing.

Not all commands from btrfs-progs are implemented yet. Run `btrfs help` to
see what is available.

## Usage

```
btrfs <command> [<subcommand>] [<args>]
```

Most commands require root privileges or `CAP_SYS_ADMIN`.