From mboxrd@z Thu Jan 1 00:00:00 1970 From: Artem Blagodarenko Subject: [PATCH 4/4] man: add -b option to e2image Date: Mon, 26 Jun 2017 19:58:46 +0300 Message-ID: <1498496326-76684-5-git-send-email-artem.blagodarenko@gmail.com> References: <1498496326-76684-1-git-send-email-artem.blagodarenko@gmail.com> Cc: alexey.lyashkov@gmail.com, artem.blagodarenko@gmail.com To: linux-ext4@vger.kernel.org Return-path: Received: from mail-lf0-f66.google.com ([209.85.215.66]:33013 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752268AbdGDM2Q (ORCPT ); Tue, 4 Jul 2017 08:28:16 -0400 Received: by mail-lf0-f66.google.com with SMTP id t72so17698750lff.0 for ; Tue, 04 Jul 2017 05:28:15 -0700 (PDT) In-Reply-To: <1498496326-76684-1-git-send-email-artem.blagodarenko@gmail.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: From: Artem Blagodarenko Add manual page for e2image -b option. Signed-off-by: Artem Blagodarenko --- misc/e2image.8.in | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/misc/e2image.8.in b/misc/e2image.8.in index f28a76e..61c23da 100644 --- a/misc/e2image.8.in +++ b/misc/e2image.8.in @@ -11,6 +11,10 @@ e2image \- Save critical ext2/ext3/ext4 filesystem metadata to a file .B \-r|Q ] [ +.B \-b +.I superblock +] +[ .B \-fr ] .I device @@ -167,6 +171,12 @@ the option will prevent analysis of problems related to hash-tree indexed directories. .PP +Option +.B \-b +.I superblock +can be used to get image from partition with broken primary superblock. +The partition is copied as is including broken primary superblock. +.PP Note that this will work even if you substitute "/dev/hda1" for another raw disk image, or QCOW2 image previously created by .BR e2image . @@ -217,6 +227,11 @@ This can be useful to write a qcow2 image containing all data to a sparse image file where it can be loop mounted, or to a disk partition. Note that this may not work with qcow2 images not generated by e2image. .PP +Option +.B \-b +.I superblock +can be used same way as for raw images. +.PP .SH INCLUDING DATA Normally .B e2image -- 1.7.1