public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Artem Blagodarenko <artem.blagodarenko@gmail.com>
To: linux-ext4@vger.kernel.org
Cc: alexey.lyashkov@gmail.com, artem.blagodarenko@gmail.com
Subject: [PATCH 0/4] e2image -b option to pass superblock number
Date: Mon, 26 Jun 2017 19:58:42 +0300	[thread overview]
Message-ID: <1498496326-76684-1-git-send-email-artem.blagodarenko@gmail.com> (raw)

There was a discussion about possibility of using
superblock backup for creating images with e2image.

https://www.spinics.net/lists/linux-ext4/msg30583.html

Now our customer faced with situation then it would be
useful to have image file from partition with broken
superblock.

Here is set of patches that adds this functionality.

Artem Blagodarenko (4):
  ext2fs: opening filesystem code refactoring
  e2image: add -b option to use supperblock backup
  tests: add test for e2image -b option
  man: add -b option to e2image

 e2fsck/unix.c               |   28 +++-------------------------
 lib/ext2fs/ext2fs.h         |    4 ++++
 lib/ext2fs/openfs.c         |   32 ++++++++++++++++++++++++++++++++
 misc/dumpe2fs.c             |   17 +++--------------
 misc/e2image.8.in           |   15 +++++++++++++++
 misc/e2image.c              |   38 ++++++++++++++++++++++++++++++++------
 tests/i_zero_super/expect   |   22 ++++++++++++++++++++++
 tests/i_zero_super/image.gz |  Bin 0 -> 13262 bytes
 tests/i_zero_super/script   |   36 ++++++++++++++++++++++++++++++++++++
 9 files changed, 147 insertions(+), 45 deletions(-)
 create mode 100644 tests/i_zero_super/expect
 create mode 100644 tests/i_zero_super/image.gz
 create mode 100644 tests/i_zero_super/script

             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 Artem Blagodarenko [this message]
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 ` [PATCH 4/4] man: add -b option to e2image Artem Blagodarenko
2017-07-05 17:07   ` 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-1-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