From owner-freebsd-hackers Thu Apr 26 10: 1:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 05CC337B422; Thu, 26 Apr 2001 10:01:32 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3QH0bw89420; Thu, 26 Apr 2001 10:00:37 -0700 (PDT) (envelope-from obrien) Date: Thu, 26 Apr 2001 10:00:37 -0700 From: "David O'Brien" To: Brian Somers Cc: Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: pax(1) gzip functionality Message-ID: <20010426100037.C84210@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104261542.f3QFgiM61575@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Thu, Apr 26, 2001 at 04:42:44PM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 04:42:44PM +0100, Brian Somers wrote: > > On Thu, Apr 26, 2001 at 02:54:25AM -0700, Kris Kennaway wrote: > > > Please review the following code from OpenBSD; it adds -z and -Z > > > options to pax(1) to gzip(1) the archives created. > > > > Sigh. They could have generalized this just a little and supported Bzip2 > > at the same time. Please let me know after you commit this so I can do > > this. > > Is this necessary ? What's the problem with using a pipe ? Isn't > this the same argument as the xargs one we've just gotten through ? What's wrong with: tar cf - foo | gzip >foo.tar.gz gzip -dc foo.tar.gz | tar xf - Someone deemed them too inconvient for the number of times they are invoked. I'm not going to enter that discussion, but _if_ gzip support is added, I feel bzip2 support should be added to be orthogonal with today's uses. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message