Feature #356
closedtar command needs to add the "J" switch and XZ compression support
100%
Description
The GNU tar command has added the capital "J" switch for XZ (LZMA2) compression support.
illumos tar needs to incorporate this compression option and switch.
The 7z program can be called to perform the compression.
The optimized XZ compression algorithm provides the greatest level of compression, even better than bzip2 --best.
Although, it is much slower in execution.
The 7z SDK can be found here: http://www.7-zip.org/sdk.html
The GNU tar source can be found here: http://www.gnu.org/software/tar/
Additional XZ information can be found here: http://tukaani.org/xz/
Files
Updated by Samuel Younge over 12 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 50
The GNU version of tar included with illumos, has the above features. In order to enable them you need to download and complex xz http://tukaani.org/xz/ and put it in your usr/bin; then put the GNU bins before the Solaris bins in y
After which the 'J' switch will call 'xz' to do the compression.
Updated by Milan Jurik over 11 years ago
- Assignee set to Milan Jurik
- Difficulty set to Medium
- Tags set to needs-triage
Updated by Milan Jurik over 11 years ago
Updated by Garrett D'Amore over 11 years ago
- Status changed from In Progress to Resolved
Fixed in:
changeset: 13693:b236aca9d46b
tag: tip
user: Milan Jurik <milan.jurik@xylab.cz>
date: Mon May 14 16:03:20 2012 -0700
description:
356 tar command needs to add the "J" switch and XZ compression support
Reviewed by: David Hoeppner <0xffea@googlemail.com>
Reviewed by: Andrew Stormont <Andrew.Stormont@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>