From 670170c3dbe80d98540a741e8ee08c6119bc9f71 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Fri, 21 Aug 2020 15:18:00 +0200 Subject: [PATCH] documentation: add lsbtr man page --- doc/Makefile | 1 + doc/lsbtr.1.asciidoc | 113 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 doc/lsbtr.1.asciidoc diff --git a/doc/Makefile b/doc/Makefile index 2bce81e..c8205bb 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,6 +1,7 @@ DOCS = FAQ.md \ upgrade_to_v0.23.0.md MAN_MAN1 = btrbk.1 \ + lsbtr.1 \ ssh_filter_btrbk.1 MAN_MAN5 = btrbk.conf.5 diff --git a/doc/lsbtr.1.asciidoc b/doc/lsbtr.1.asciidoc new file mode 100644 index 0000000..774c4ff --- /dev/null +++ b/doc/lsbtr.1.asciidoc @@ -0,0 +1,113 @@ +lsbtr(1) +======== +:date: 2020-02-09 +:release-version: 0.29.1 +:man manual: Btrbk Manual +:man source: Btrbk {release-version} + + +NAME +---- + +lsbtr - list btrfs subvolumes + + +SYNOPSIS +-------- + +[verse] +lsbtr [-h|--help] [--version] + [-l|--long] [-u|--uuid] [--raw] + [-v|--verbose] + [-c|--config ] + [--override =] + [|...] + + +DESCRIPTION +----------- + +List btrfs subvolumes and their mount points visible by the file +system below ''. + +*lsbtr* is part of *btrbk* (basically a shortcut for "btrbk ls"), and +takes some global configuration options from btrbk.conf(5) if present. + +*lsbtr* requires 'root privileges' to run correctly. Alternatively, +consider using "btrfs-progs-sudo" or "btrfs-progs-btrbk" backends, +both of which allows you to run lsbtr as a regular user. Refer to +configuration option 'backend' in btrbk.conf(5) for more details. + + +OPTIONS +------- + +-h, --help:: + Prints the synopsis and a list of the commands. + +--version:: + Prints the btrbk version. + +-l, --long:: + Print output in long table format (additionally print subvolume + path). + +-u, --uuid:: + Print UUID table (parent/received relations). + +--raw:: + Print space-separated key="value" pairs (machine readable). + +-v, --verbose:: + Increase the level of verbosity. + +-c, --config :: + Read the configuration from . + +--override =:: + Override a configuration option with . + + +FILES +----- + ++/etc/btrbk.conf+:: ++/etc/btrbk/btrbk.conf+:: + Default configuration file. The file format and configuration + options are described in *btrbk.conf*(5). + + +EXIT STATUS +----------- + +*lsbtr* returns the following error codes: + +ifndef::backend-docbook,backend-manpage[] +[horizontal] +endif::backend-docbook,backend-manpage[] +0:: No problems occurred. +1:: Generic error code. +2:: Parse error: when parsing command-line options or configuration + file. +255:: Script error. + + +AVAILABILITY +------------ + +Please refer to the btrbk project page ** +for further details. + + +SEE ALSO +-------- + +*btrbk*(1), +*btrbk.conf*(5), +*btrfs*(8) + + +AUTHOR +------ + +Axel Burri