From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JtmCg-0000Uy-B6 for garchives@archives.gentoo.org; Wed, 07 May 2008 16:09:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEC10E07E8; Wed, 7 May 2008 16:09:12 +0000 (UTC) Received: from duke.localdomain (unknown [160.79.59.34]) by pigeon.gentoo.org (Postfix) with ESMTP id B9CD5E07E8 for ; Wed, 7 May 2008 16:09:12 +0000 (UTC) Received: from [127.0.0.1] (duke.wrkhors.com [127.0.0.1]) by duke.localdomain (Postfix) with ESMTP id A32B828D6A1 for ; Wed, 7 May 2008 12:01:22 -0400 (EDT) Message-ID: <4821D252.1020902@wrkhors.com> Date: Wed, 07 May 2008 12:01:22 -0400 From: Steven Lembark Organization: Workhorse Computing User-Agent: Thunderbird 2.0.0.9 (X11/20071212) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: tar a brand new Gentoo install to a USB drive for safe keeping? References: <5bdc1c8b0805031806k7a14e6d3v910c0957bd514e98@mail.gmail.com> <481D8E3B.10606@gnoo.eu> <5bdc1c8b0805040825w2a647669x15b8762422491655@mail.gmail.com> <5bdc1c8b0805041612j5f958d4cred584a5cfc929efc@mail.gmail.com> <20080505040443.GA29986@sys-0.woh.rr.com> <20080505093749.7a5faf56@loonquawl.digimed.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c508a5bd-f1fb-4eb5-8f1e-71f419e4164d X-Archives-Hash: 08664049cec50624edf903f7b0a689a1 >>>> tar xvfp SYSTEM.tar.bz2 >>> To extract bzip2 files with tar, you need to add the "j" option. >> That hasn't been needed for a long time. Tar is able to detect bzip2 and >> gzip compression and handle it automatically. > > That's only true for GNU tar. If you're also dealing with other > systems where you might not have GNU tar, you might be "surprised" > to find that "tar xvf file.tgz" doesn't work. > > Hence I think, that it is a good idea to keep on using z or j. Not all of them speak any squish factor, leaving: gzip -dc blah.tar.gz | tar xvf -; (or bzip/bzip2) as the most portable route. -- Steven Lembark 85-09 90th St. Workhorse Computing Woodhaven, NY, 11421 lembark@wrkhors.com +1 888 359 3508 -- gentoo-user@lists.gentoo.org mailing list