Lines Matching refs:archive

63 static char hdbuf[BLKMULT];		/* space for archive header on read */
68 * list the contents of an archive which match user supplied pattern(s)
82 * figure out archive type; pass any format specific options to the
83 * archive option processing routine; call the format init routine. We
98 * step through the archive until the format says it is done
126 * skip to next archive format header using values calculated
145 * extract the member(s) of an archive as specified by user supplied
162 * figure out archive type; pass any format specific options to the
163 * archive option processing routine; call the format init routine;
172 * so we can fix up hard links files later in the archive.
180 * step through each entry on the archive until the format read routine
195 * padding and go back for the next archive member
202 * with -u or -D only extract when the archive member is newer
230 * this archive member is now been selected. modify the name.
287 * process archive members that are not regular files.
316 * extract the file from the archive and skip over padding and
351 * Write an archive. used in both creating a new archive and appends on
352 * previously written archive.
382 * so we can fix up hard links files later in the archive.
395 * while there are files to archive, process them one at at time
408 * only archive if this file is newer than a file with
409 * the same name that is already stored on the archive
429 * can avoid writing a header to the archive for a file
476 * routine write routine store the file header on the archive
497 * Add file data to the archive, quit on write error. if we
498 * cannot write the entire file contents to the archive we
499 * must pad the archive to replace the missing file data
540 * Add file to previously written archive. Archive format specified by the
541 * user must agree with archive. The archive is read first to collect
542 * modification times (if -u) and locate the archive trailer. The archive
546 * -u is implemented by adding the new members to the end of the archive.
548 * version of the same file already stored in the archive. It is expected
550 * ones stored "earlier" in the archive (this may be a bad assumption as
553 * the entire archive (from the point were the old version was), or having
555 * header that invalidates a previous archive record. The POSIX spec left
574 * Do not allow an append operation if the actual archive is of a
580 paxwarn(1, "Cannot mix current archive format %s with %s",
599 * some archive formats encode hard links by recording the device and
601 * to the archive. When we append, we run the risk that newly added
603 * on the archive but during a previous run. If this happens, when the
604 * archive is extracted we get INCORRECT hard links. We avoid this by
606 * use the same device number as one found on the archive. remapping
609 * when the inode number is larger than storage space in the archive
616 * reading the archive may take a long time. If verbose tell the user
620 "%s: Reading archive to position at the end...", argv0);
625 * step through the archive until the format says it is done
654 * device number seen in the old part of the archive to be
692 * archive()
693 * write a new archive
697 archive(void)
704 * options write the archive
717 * use any archive storage. The EFFECT OF THE COPY IS THE SAME as if an
718 * archive was written and then extracted in the destination directory
769 * so we can fix up hard links files later in the archive.
780 * while there are files to archive, process them
796 * archive.
954 * try to find a valid header in the archive. Uses format specific
961 * add a new byte from the archive to the end of the buffer and try again.
1000 * If we read 0 bytes (EOF) from an archive when we
1002 * an archive without the customary block of zeroes
1011 * some kind of archive read problem, try to resync the
1015 paxwarn(1,"Premature end of file on archive read");
1079 * time from the archive and place it at the end of the buffer.
1085 paxwarn(1,"Unable to append, archive header flaw");
1114 * Figure out what format an archive is. Handles archive with flaws by
1119 * 0 if archive found -1 otherwise
1133 * find the smallest header size in all archive formats and then set up
1134 * to read the archive.
1181 * archive format. Look to see if we have a match. The array
1203 * We have a flawed archive, no match. we start searching, but
1216 * determine the nature of the flaw in the archive in a
1234 paxwarn(1, "Sorry, unable to determine archive format.");