From: Artem Blagodarenko <artem.blagodarenko@gmail.com>
To: linux-ext4@vger.kernel.org
Cc: alexey.lyashkov@gmail.com, artem.blagodarenko@gmail.com
Subject: [PATCH 4/4] man: add -b option to e2image
Date: Mon, 26 Jun 2017 19:58:46 +0300 [thread overview]
Message-ID: <1498496326-76684-5-git-send-email-artem.blagodarenko@gmail.com> (raw)
In-Reply-To: <1498496326-76684-1-git-send-email-artem.blagodarenko@gmail.com>
From: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Add manual page for e2image -b option.
Signed-off-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
---
misc/e2image.8.in | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/misc/e2image.8.in b/misc/e2image.8.in
index f28a76e..61c23da 100644
--- a/misc/e2image.8.in
+++ b/misc/e2image.8.in
@@ -11,6 +11,10 @@ e2image \- Save critical ext2/ext3/ext4 filesystem metadata to a file
.B \-r|Q
]
[
+.B \-b
+.I superblock
+]
+[
.B \-fr
]
.I device
@@ -167,6 +171,12 @@ the
option will prevent analysis of problems related to hash-tree indexed
directories.
.PP
+Option
+.B \-b
+.I superblock
+can be used to get image from partition with broken primary superblock.
+The partition is copied as is including broken primary superblock.
+.PP
Note that this will work even if you substitute "/dev/hda1" for another raw
disk image, or QCOW2 image previously created by
.BR e2image .
@@ -217,6 +227,11 @@ This can be useful to write a qcow2 image containing all data to a
sparse image file where it can be loop mounted, or to a disk partition.
Note that this may not work with qcow2 images not generated by e2image.
.PP
+Option
+.B \-b
+.I superblock
+can be used same way as for raw images.
+.PP
.SH INCLUDING DATA
Normally
.B e2image
--
1.7.1
next prev parent reply other threads:[~2017-07-04 12:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 16:58 [PATCH 0/4] e2image -b option to pass superblock number Artem Blagodarenko
2017-06-26 16:58 ` [PATCH 1/4] ext2fs: opening filesystem code refactoring Artem Blagodarenko
2017-07-05 17:01 ` Andreas Dilger
2017-06-26 16:58 ` [PATCH 2/4] e2image: add -b option to use supperblock backup Artem Blagodarenko
2017-07-05 17:06 ` Andreas Dilger
2017-06-26 16:58 ` [PATCH 3/4] tests: add test for e2image -b option Artem Blagodarenko
2017-07-05 22:27 ` Andreas Dilger
2017-06-26 16:58 ` Artem Blagodarenko [this message]
2017-07-05 17:07 ` [PATCH 4/4] man: add -b option to e2image Andreas Dilger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1498496326-76684-5-git-send-email-artem.blagodarenko@gmail.com \
--to=artem.blagodarenko@gmail.com \
--cc=alexey.lyashkov@gmail.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox