summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-restore.asciidoc
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-04-29 18:26:08 +0200
committerDavid Sterba <dsterba@suse.cz>2015-05-14 15:41:06 +0200
commitbea9ba0acb38e8b3a49fa1b38b574dd79bdb1a42 (patch)
treee83cfd957cc4b447b6f27084fffaaeb4e235703c /Documentation/btrfs-restore.asciidoc
parent18b48340de1b415cc29f8cc52c990a6427e6d46c (diff)
btrfs-progs: restore: add more long option variants
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation/btrfs-restore.asciidoc')
-rw-r--r--Documentation/btrfs-restore.asciidoc18
1 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/btrfs-restore.asciidoc b/Documentation/btrfs-restore.asciidoc
index 5faeb561..ec3a08bc 100644
--- a/Documentation/btrfs-restore.asciidoc
+++ b/Documentation/btrfs-restore.asciidoc
@@ -3,7 +3,7 @@ btrfs-restore(8)
NAME
----
-btrfs-restore - try to restore files from a damaged btrfs filesystem(unmounted)
+btrfs-restore - try to restore files from a damaged btrfs filesystem image
SYNOPSIS
--------
@@ -23,10 +23,10 @@ https://btrfs.wiki.kernel.org/index.php/Restore
OPTIONS
-------
--s::
+-s|--snapshots::
get snapshots, btrfs restore skips snapshots in default.
--x::
+-x|--xattr::
get extended attributes.
-m|--metadata::
@@ -35,13 +35,13 @@ restore owner, mode and times.
-S|--symlinks::
restore symbolic links as well as normal files.
--v::
+-v|--verbose::
verbose.
--i::
+-i|--ignore-errors::
ignore errors.
--o::
+-o|--overwrite::
overwrite directories/files in <path>.
-t <bytenr>::
@@ -50,16 +50,16 @@ use <bytenr> to read root tree.
-f <bytenr>::
only restore files that are under specified root whose root bytenr is <bytenr>.
--u <mirror>::
+-u|--super <mirror>::
use given superblock mirror identified by <mirror>, it can be 0,1,2.
--r <rootid>::
+-r|--root <rootid>::
only restore files that are under specified root whose objectid is <rootid>.
-d::
find dir.
--l::
+-l|--list-roots::
list tree roots.
-D|--dry-run::