man: write about new supported compressors
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 30 Jan 2014 08:23:38 +0000 (10:23 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 31 Jan 2014 09:49:31 +0000 (11:49 +0200)
And re-structure the text a bit to make it more readable.

Change-Id: I487de9c9e651b6bd4c4010c73271fd561458b288
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
docs/man1/bmaptool.1

index a1c6f0ee49b8167037653af9f051235899efb45c..1d86bac0137e4c9e54efba43f4c1026a557c36b6 100644 (file)
@@ -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