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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <BAB1C1C4-D0BB-4398-89A5-EC8B1E20801B@dilger.ca>
Date:	Fri, 23 Sep 2011 14:24:23 -0600
From:	Andreas Dilger <adilger@...ger.ca>
To:	Carlos Maiolino <cmaiolino@...hat.com>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: [PATCH] Add better example about how to compress e2image raw image

On 2011-09-23, at 12:47 PM, Carlos Maiolino wrote:
> The current example in the man page uses bzip2 to compress
> the raw image file created by the e2image, but, bzip2 does
> not honors sparse files, which causes the image to have the
> same size of the filesystem.
> Using tar together with bzip2 will make the compressed file
> to honor the sparsed file, which makes it more transportable
> than the current one if the filesystem is large.
> 
> Signed-off-by: Carlos Maiolino <cmaiolino@...hat.com>
> ---
> misc/e2image.8.in |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/misc/e2image.8.in b/misc/e2image.8.in
> index 74d2a0b..fcf3d20 100644
> --- a/misc/e2image.8.in
> +++ b/misc/e2image.8.in
> @@ -115,7 +115,7 @@ as part of bug reports to e2fsprogs.  When used in this capacity, the
> recommended command is as follows (replace hda1 with the appropriate device):
> .PP
> .br
> -\	\fBe2image \-r /dev/hda1 \- | bzip2 > hda1.e2i.bz2\fR
> +\	\fBe2image \-r /dev/hda1 hda1.e2i && tar Sjcvf e2i.tar.bz2 hda1.e2i\fR

Even better would be the use of the QCOW2 format that Lukas added, if it could also be operated on directly by the e2fsprogs utils (I don't know if that is possible or not).


Cheers, Andreas





--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ