public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] e2image -b option to pass superblock number
@ 2017-06-26 16:58 Artem Blagodarenko
  2017-06-26 16:58 ` [PATCH 1/4] ext2fs: opening filesystem code refactoring Artem Blagodarenko
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Artem Blagodarenko @ 2017-06-26 16:58 UTC (permalink / raw)
  To: linux-ext4; +Cc: alexey.lyashkov, artem.blagodarenko

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-07-05 22:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 4/4] man: add -b option to e2image Artem Blagodarenko
2017-07-05 17:07   ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox