lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171116135546.9991-1-artem.blagodarenko@gmail.com>
Date:   Thu, 16 Nov 2017 16:55:42 +0300
From:   Artem Blagodarenko <artem.blagodarenko@...il.com>
To:     linux-ext4@...r.kernel.org
Cc:     adilger.kernel@...ger.ca
Subject: [PATCH v2 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.

This is the second version of the patch set. Changes since v1:
* code style fixes
* moving common code to ext2fs_open2
* added  "-B blocksize" option
* fixes in test script

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/openfs.c         |  36 +++++++++++++++++++++++++++++++++++-
 misc/dumpe2fs.c             |  17 +++--------------
 misc/e2image.8.in           |  32 ++++++++++++++++++++++++++++++++
 misc/e2image.c              |  44 ++++++++++++++++++++++++++++++++++++++------
 tests/i_zero_super/expect   |  22 ++++++++++++++++++++++
 tests/i_zero_super/image.gz | Bin 0 -> 13262 bytes
 tests/i_zero_super/script   |  33 +++++++++++++++++++++++++++++++++
 8 files changed, 166 insertions(+), 46 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

-- 
2.13.6 (Apple Git-96)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ