Whamcloud - gitweb
e2image: add -b and -B options to specify where to find the superblock
authorArtem Blagodarenko <artem.blagodarenko@gmail.com>
Wed, 6 Mar 2019 16:52:13 +0000 (11:52 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 6 Mar 2019 16:52:18 +0000 (11:52 -0500)
commit3f3e455f02ba2bd64d70b13fa2c9f6c2215a6fc4
treeca56ccb43010ae113b3d9df1ee19c9d2e02c7682
parent731661a739a8f62bb00c4fb10144e6819d26c934
e2image: add -b and -B options to specify where to find the superblock

e2image has no ability to use superblock backup to copy metadata.
This feature can be useful if someone wants to make partition
image and fix it using e2fsck utility.

New -b option allows to pass superblock number, like e2fsck utility does.
e2image doesn't change primary superblock and store it as is, so
it can be fixed using e2fsck latter. Option -B allows setting
superblock size.

Signed-off-by: Artem Blagodarenko <c17828@cray.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.8.in
misc/e2image.c