Re: Converting from cpio to tar formats in a pipeline?
On Wed 06 Dec 2000, Stephen Zander wrote:
> >>>>> "Albert" == Albert den Haan <email@example.com> 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 <firstname.lastname@example.org>
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: email@example.com http://www.wurtel.demon.nl/
work: firstname.lastname@example.org http://www.murphy.nl/
debian: email@example.com http://www.debian.org/
isdn4linux: firstname.lastname@example.org http://www.isdn4linux.org/