[bmap-tools] [PATCH 6/8] man: write about new supported compressors

Artem Bityutskiy dedekind1 at gmail.com
Fri Jan 31 06:58:49 EST 2014


From: Artem Bityutskiy <artem.bityutskiy at intel.com>

And re-structure the text a bit to make it more readable.

Change-Id: I487de9c9e651b6bd4c4010c73271fd561458b288
Signed-off-by: Artem Bityutskiy <artem.bityutskiy at intel.com>
---
 docs/man1/bmaptool.1 | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/docs/man1/bmaptool.1 b/docs/man1/bmaptool.1
index a1c6f0e..1d86bac 100644
--- a/docs/man1/bmaptool.1
+++ b/docs/man1/bmaptool.1
@@ -92,9 +92,26 @@ in the URL, for example "https://user:password@my.server.org/image.raw.bz2", or
 .PP
 IMAGE may be compressed, in which case \fIbmaptool\fR decompresses it on-the-fly.
 The compression type is detected by the file extension and the following
-compression types are supported: ".bz2", ".gz", ".xz", ".gzip", ".tar.bz2",
-".tar.gz", ".tgz", ".tar.xz". If IMAGE has none of these extensions, it is
-assumed to be uncompressed.
+extensions are supported:
+
+.RS 4
+1. ".gz", ".gzip", ".tar.gz" and ".tgz" for files and tar archives compressed with "\fIgzip\fR" program
+.RE
+.RS 4
+2. ".bz2", "tar.bz2", ".tbz2", ".tbz", and ".tb2" for files and tar archives compressed with "\fIbzip2\fR" program
+.RE
+.RS 4
+3. ".xz", ".tar.xz", ".txz" for files and tar archives compressed with "\fIxz\fR" program
+.RE
+.RS 4
+4. ".lzo", "tar.lzo", ".tzo" for files and tar archives compressed with "\fIlzo\fR" program
+.RE
+
+.PP
+IMAGE files with other extensions are assumed to be uncompressed. Note,
+\fIbmaptool\fR uses "\fIpbzip2\fR" and "\fIpigz\fR" programs for decompressing
+bzip2 and gzip archives faster, unless they are not available, in which case if
+falls-back to using "\fIbzip2\fR" and "\fIgzip\fR".
 
 .PP
 If DEST is a block device node (e.g., "/dev/sdg"), \fIbmaptool\fR opens it in
-- 
1.8.3.1




More information about the Bmap-tools mailing list