Re: Converting from cpio to tar formats in a pipeline?
On Wed 06 Dec 2000, Stephen Zander wrote:
> >>>>> "Albert" == Albert den Haan <firstname.lastname@example.org> writes:
> Albert> So, I'm writing a peer to dpkg-deb, dpkg-lsb, and using
> Albert> librpm for the archive disection bits. Current RPM
> Albert> archive formats use cpio, and dpkg wants a tarfile on
> Albert> stdout.
> What I think you want is pax but I don't know if it's packahed in
Of course it is:
$ apt-cache show pax
Maintainer: Bdale Garbee <email@example.com>
Depends: libc6 (>= 2.1.2)
Description: Portable Archive Interchange
Pax is an archiving utility that reads and writes tar and cpio formats,
both the traditional ones and the extended formats specified in IEEE 1003.1.
It handles multi-volume archives and automatically determines the format
of an archive while reading it. Three user interfaces are
supported: tar, cpio, and pax. The pax interface was designed by IEEE
1003.2 as a compromise in the chronic controversy over which of tar or
cpio is best.
This is the free OpenBSD's version written by Keith Muller.
This package will eventually be obsoleted by the release of GNU paxutils.
"We are Debian of Borg - resistence is futile, you WILL be packaged."
home: firstname.lastname@example.org http://www.wurtel.demon.nl/
work: email@example.com http://www.murphy.nl/
debian: firstname.lastname@example.org http://www.debian.org/
isdn4linux: email@example.com http://www.isdn4linux.org/