crash.commands.btrfs module

SUMMARY

Display Btrfs internal data structures

btrfs <command> <superblock>

COMMANDS

btrfs list [-m] – list all btrfs file systems (-m to show metadata uuid)
class crash.commands.btrfs.BtrfsCommand(name: str)[source]

Bases: crash.commands.Command

display Btrfs internal data structures

execute(args: argparse.Namespace) → None[source]

This method implements the command functionality.

Each command has a derived class associated with it that, minimally, implements this method.

Parameters:args – The arguments to this command already parsed by the commmand’s parser.
list_btrfs(args: argparse.Namespace) → None[source]