Lines Matching defs:archive

80 static char hdbuf[BLKMULT];		/* space for archive header on read */
191 * list the contents of an archive which match user supplied pattern(s)
204 * figure out archive type; pass any format specific options to the
205 * archive option processing routine; call the format init routine. We
217 * step through the archive until the format says it is done
268 * skip to next archive format header using values calculated
289 * extract the member(s) of an archive as specified by user supplied
305 * figure out archive type; pass any format specific options to the
306 * archive option processing routine; call the format init routine;
321 * so we can fix up hard links files later in the archive.
327 * step through each entry on the archive until the format read routine
353 * archive member
365 * with -u or -D only extract when the archive member is newer
393 * this archive member is now been selected. modify the name.
458 * process archive members that are not regular files.
496 * extract the file from the archive and skip over padding and
532 * Write an archive. used in both creating a new archive and appends on
533 * previously written archive.
565 * so we can fix up hard links files later in the archive.
576 * while there are files to archive, process them one at at time
597 * only archive if this file is newer than a file with
598 * the same name that is already stored on the archive
618 * can avoid writing a header to the archive for a file
669 * routine write routine store the file header on the archive
690 * Add file data to the archive, quit on write error. if we
691 * cannot write the entire file contents to the archive we
692 * must pad the archive to replace the missing file data
735 * Add file to previously written archive. Archive format specified by the
736 * user must agree with archive. The archive is read first to collect
737 * modification times (if -u) and locate the archive trailer. The archive
741 * -u is implemented by adding the new members to the end of the archive.
743 * version of the same file already stored in the archive. It is expected
745 * ones stored "earlier" in the archive (this may be a bad assumption as
748 * the entire archive (from the point were the old version was), or having
750 * header that invalidates a previous archive record. The posix spec left
768 * Do not allow an append operation if the actual archive is of a
774 tty_warn(1, "Cannot mix current archive format %s with %s",
793 * some archive formats encode hard links by recording the device and
795 * to the archive. When we append, we run the risk that newly added
797 * on the archive but during a previous run. If this happens, when the
798 * archive is extracted we get INCORRECT hard links. We avoid this by
800 * use the same device number as one found on the archive. remapping
803 * when the inode number is larger than storage space in the archive
810 * reading the archive may take a long time. If verbose tell the user
814 "%s: Reading archive to position at the end...", argv0);
819 * step through the archive until the format says it is done
848 * device number seen in the old part of the archive to be
887 * not truncate the archive).
897 * archive()
898 * write a new archive
902 archive(void)
908 * options write the archive
921 * use any archive storage. The EFFECT OF THE COPY IS THE SAME as if an
922 * archive was written and then extracted in the destination directory
977 * so we can fix up hard links files later in the archive.
988 * while there are files to archive, process them
1002 * archive.
1165 * try to find a valid header in the archive. Uses format specific
1172 * add a new byte from the archive to the end of the buffer and try again.
1211 * If we read 0 bytes (EOF) from an archive when we
1213 * an archive without the customary block of zeroes
1222 * some kind of archive read problem, try to resync the
1227 "Premature end of file on archive read");
1292 * time from the archive and place it at the end of the buffer.
1299 "Unable to append, archive header flaw");
1330 * Figure out what format an archive is. Handles archive with flaws by
1335 * 0 if archive found -1 otherwise
1349 * find the smallest header size in all archive formats and then set up
1350 * to read the archive.
1398 * archive format. Look to see if we have a match. The array
1420 * We have a flawed archive, no match. we start searching, but
1433 * determine the nature of the flaw in the archive in a
1451 tty_warn(1, "Sorry, unable to determine archive format.");