From owner-freebsd-questions@FreeBSD.ORG Sun Mar 9 23:10:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C338106566C for ; Sun, 9 Mar 2008 23:10:28 +0000 (UTC) (envelope-from mk@mkdev.eu) Received: from natrium.sulf.at (natrium.sulf.at [88.198.116.108]) by mx1.freebsd.org (Postfix) with ESMTP id E4FFA8FC12 for ; Sun, 9 Mar 2008 23:10:27 +0000 (UTC) (envelope-from mk@mkdev.eu) Received: from [192.168.2.100] (unknown [77.210.21.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by natrium.sulf.at (Postfix) with ESMTP id 398FC114B4 for ; Sun, 9 Mar 2008 22:58:02 +0000 (UTC) Message-ID: <47D46A4B.6050409@mkdev.eu> Date: Sun, 09 Mar 2008 23:52:59 +0100 From: Markus Klaschka Organization: mkdev.eu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.8.1.11) Gecko/20080208 SeaMonkey/1.1.7 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="------------010408080203000400010607" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: tar( bzip2 parts of manpage ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 23:10:28 -0000 This is a multi-part message in MIME format. --------------010408080203000400010607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I never used built-in bzip functionality of tar, but I like bzip2 more than gzip, so I just searched and found following: -j (c mode only) Compress the resulting archive with bzip2(1). In extract or list modes, this option is ignored. Note that, unlike other tar implementations, this implementation recognizes bzip2 compression automatically when reading archives. and -y (c mode only) Compress the resulting archive with bzip2(1). In extract or list modes, this option is ignored. Note that, unlike other tar implementations, this implementation recognizes bzip2 compression automatically when reading archives. what's going on there? I tested the -j option, works good. I created a file.tar.bz2 and like the manpage describes, tar -cvf is enough to unpack the tarball, Is that a FreeBSD feature, how is it on other platforms? Is bzip2 used, or is that build in as a tar? Cheers - Markus Klaschka MKDev - Markus Klaschka Development http://www.mkdev.eu Spain: 0034 - 63 747 23 07 UK: 0044 - 750 910 2718 Mail: mk@mkdev.eu Skype: mark-use IRC: mark-use @ irc.freenode.net : #freebsd, ##security, #freebsd-src, #bsdforen.de, #bsdgroup.de --------------010408080203000400010607--