Project

General

Profile

Feature #356

tar command needs to add the "J" switch and XZ compression support

Added by Samuel Younge about 9 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2010-10-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

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

xz.patch (10.8 KB) xz.patch suggested fix Milan Jurik, 2012-05-12 01:55 PM

History

#1

Updated by Samuel Younge almost 9 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.

#2

Updated by Milan Jurik over 7 years ago

  • Assignee set to Milan Jurik
  • Difficulty set to Medium
  • Tags set to needs-triage
#3

Updated by Milan Jurik over 7 years ago

  • Tags deleted (needs-triage)
#4

Updated by Milan Jurik over 7 years ago

  • File xz.patch xz.patch added
  • Status changed from Feedback to In Progress
  • % Done changed from 50 to 100
#5

Updated by Garrett D'Amore over 7 years ago

  • Status changed from In Progress to Resolved

Fixed in:

changeset: 13693:b236aca9d46b
tag: tip
user: Milan Jurik <>
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 <>
Reviewed by: Andrew Stormont <>
Approved by: Garrett D'Amore <>

Also available in: Atom PDF