%general-entities; ]> $LastChangedBy$ $Date$ cpio-&cpio-version; Cpio Introduction to cpio The cpio package contains tools for archiving. &lfs72_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &cpio-md5sum; Download size: &cpio-size; Estimated disk space required: &cpio-buildsize; Estimated build time: &cpio-time; User Notes: Installation of cpio Install cpio by running the following commands: sed -i -e '/gets is a/d' gnu/stdio.in.h && ./configure --prefix=/usr \ --bindir=/bin \ --libexecdir=/tmp \ --enable-mt \ --with-rmt=/usr/sbin/rmt && make && makeinfo --html -o doc/html doc/cpio.texi && makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi && makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi If you have installed and wish to create PDF or Postscript documentation, issue one or both of the following commands: make -C doc pdf && make -C doc ps To test the results, issue: make check. Now, as the root user: make install && install -v -m755 -d /usr/share/doc/cpio-&cpio-version;/html && install -v -m644 doc/html/* \ /usr/share/doc/cpio-&cpio-version;/html && install -v -m644 doc/cpio.{html,txt} \ /usr/share/doc/cpio-&cpio-version; If you built PDF or Postscript documentation, install it by issuing the following commands as the root user: install -v -m644 doc/cpio.{pdf,ps,dvi} \ /usr/share/doc/cpio-&cpio-version; Command Explanations sed -i -e '/gets is a/d' gnu/stdio.in.h &&: This fixes an incompatability with glibc-2.16.0. --bindir=/bin: This parameter installs cpio to /bin instead of /usr/bin as recommended by the FHS guidelines. --libexecdir=/tmp: This parameter is used so that /usr/libexec is not created. --enable-mt: This parameter forces the building and installation of the mt program. --with-rmt=/usr/sbin/rmt: This parameter inhibits building the rmt program as it is already installed by the Tar package in LFS. Contents Installed Programs Installed Libraries Installed Directories cpio and mt None /usr/share/doc/cpio-&cpio-version; Short Descriptions cpio copies files to and from archives. cpio mt controls magnetic tape drive operations. mt