From owner-freebsd-hackers Thu Apr 26 13:22: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-27.dsl.lsan03.pacbell.net [63.207.60.27]) by hub.freebsd.org (Postfix) with ESMTP id 2695937B422; Thu, 26 Apr 2001 13:21:56 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 82FE766DF6; Thu, 26 Apr 2001 13:21:55 -0700 (PDT) Date: Thu, 26 Apr 2001 13:21:55 -0700 From: Kris Kennaway To: Brian Somers Cc: obrien@FreeBSD.ORG, Kris Kennaway , hackers@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: pax(1) gzip functionality Message-ID: <20010426132155.C2224@xor.obsecurity.org> References: <200104261823.f3QINUM63571@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ghzN8eJ9Qlbqn3iT" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104261823.f3QINUM63571@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Thu, Apr 26, 2001 at 07:23:30PM +0100 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2001 at 07:23:30PM +0100, Brian Somers wrote: > > 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. > > > >=20 > > > > 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 ca= n do > > > > this. > > >=20 > > > Is this necessary ? What's the problem with using a pipe ? Isn't=20 > > > this the same argument as the xargs one we've just gotten through ? > >=20 > > What's wrong with: > > tar cf - foo | gzip >foo.tar.gz > > gzip -dc foo.tar.gz | tar xf - > >=20 > > 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. >=20 > Agreed. Fair enough; would be a trivial thing to do. Increased compatibility with tar and cpio seems to have been one of the goals of OpenBSD's work on pax(1); I'm intending to go through and pull over the other bugfixes and extensions too. Kris --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE66INjWry0BWjoQKURAiDNAJ9AzIjMFxEnsv7uRkby+i6nUhGRWgCg5Ykz CrkVQsXGP8XVmWm+Y5NBtgM= =EeAs -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message