Message ID | 1498496326-76684-5-git-send-email-artem.blagodarenko@gmail.com |
---|---|
State | Superseded |
Headers | show |
On Jun 26, 2017, at 10:58 AM, Artem Blagodarenko <artem.blagodarenko@gmail.com> wrote: > > From: Artem Blagodarenko <artem.blagodarenko@seagate.com> > > Add manual page for e2image -b option. > > Signed-off-by: Artem Blagodarenko <artem.blagodarenko@seagate.com> This should probably be included with the 2/4 patch that adds the "-b" option. Reviewed-by: Andreas Dilger <adilger@dilger.ca> > --- > 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 > Cheers, Andreas
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