Skip to main content

Crate btrfs_cli

Crate btrfs_cli 

Source
Expand description

§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. It is built on top of btrfs-uapi for kernel communication and btrfs-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.

Modules§

balance
check
device
filesystem
inspect
property
qgroup
quota
receive
replace
rescue
restore
scrub
send
subvolume
util

Structs§

Arguments
A Rust implementation of the btrfs command-line tool for managing Btrfs filesystems.
GlobalOptions

Enums§

Command
Format
Level

Traits§

Runnable