pax is an archiving utility created by POSIX and defined by the POSIX.1-2001 standard. Rather than sort out the incompatible options that have crept up between tar and cpio, along with their implementations across various versions of UNIX, the IEEE designed a new archive utility. The name “pax” is an acronym for portable archive exchange. Furthermore, “pax” means “peace” in Latin, so its name implies that it shall create peace between the tar and cpio format supporters. The command invocation and command structure is somewhat a unification of both tar and cpio.
pax has been required to be present in LSB conformant systems since LSB version 3.0.
This package is known to build and work properly using an LFS-8.0 platform.
Download (HTTP): http://downloads.sourceforge.net/heirloom/heirloom-070715.tar.bz2
Download MD5 sum: d846be4b268b1d55b6ffcef847f09979
Download size: 977 KB
Estimated disk space required: 9.2 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pax
This package has somewhat unusual installation instructions, because pax is part of a larger set of utilities included in the same tarball. Issue the following commands:
sed -i build/mk.config \ -e '/LIBZ/s@ -Wl[^ ]*@@g' \ -e '/LIBBZ2/{s@^#@@;s@ -Wl[^ ]*@@g}' \ -e '/BZLIB/s@0@1@' && make makefiles && make -C libcommon && make -C libuxre && make -C cpio
Now, as the root
user:
install -v -m755 cpio/pax_su3 /usr/bin/pax && install -v -m644 cpio/pax.1 /usr/share/man/man1
sed ...: This changes
the configuration file build/mk.config
so that the system zlib and
libbz2 are used and linked as shared libraries.
make makefiles: This command builds all the makefiles.
make -C lib...: First builds the necessary libraries.
make -C cpio: Then builds the archive utilities.
Last updated on 2017-02-22 11:24:59 -0800