[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1498496326-76684-1-git-send-email-artem.blagodarenko@gmail.com>
Date: Mon, 26 Jun 2017 19:58:42 +0300
From: Artem Blagodarenko <artem.blagodarenko@...il.com>
To: linux-ext4@...r.kernel.org
Cc: alexey.lyashkov@...il.com, artem.blagodarenko@...il.com
Subject: [PATCH 0/4] e2image -b option to pass superblock number
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
Powered by blists - more mailing lists