Lines Matching defs:to

3  * Use is subject to license terms.
18 /* undef MAXNAMLEN to prevent compiler warnings about redef in dirent.h */
106 * This is used by the 'i' option to undo previous requests made by addfile.
138 * other files in them which need to be moved out first. As
139 * directories to be deleted are found, they are put on the
159 vprintf(stdout, gettext("Mark entries to be removed.\n"));
190 * KEEP - entries that are to be left alone.
191 * NEW - new entries to be added.
193 * LINK - new links to be added.
218 * Check to see if the file is on the tape.
223 * Check to see if the name exists, and if the name is a link.
238 * Check to see if the inode exists, and if one of its links
239 * corresponds to the name (if one was found).
247 * Need to set the NEW flag on the hard link
269 * correspond to the same file, then both the inode that has
270 * been found and the inode corresponding to the name that
271 * has been found need to be renamed. The current pathname
273 * all files to be deleted have already been removed, the
301 * a name and inode are found that correspond to different files.
308 * Mark it as KEEP so that other links to the inode can be
321 * corresponding to a different file in the previous dump.
322 * Since all files to be deleted have already been removed,
345 * Add it to the file system, and request its extraction.
365 * link to the file. Hard links to directories are not
366 * permitted, and are either deleted or converted to
368 * a request is made to extract it.
389 "deleted hard link %s to directory %s\n"),
401 * A previously known file which is to be updated.
423 * that we need to rename, so we delete it from the symbol
424 * table, and put it on the list to be deleted eventually.
425 * Conversely if a directory is to be created, it must be
436 /* changing from leaf to node */
442 /* changing from node to leaf */
457 * A hard link to a directory that has been removed.
580 * N is the number of directory entries to be removed.
616 * This is the routine used to extract files for the 'r' command.
642 * the lost files must have been due to a tape read error,
646 * sooner. Due to the e_flags manipulation, lowerbnd()
686 * If the file is to be extracted, then the old file must
688 * to another (eg "file" to "character special"). But we
689 * also need to preserve any existing extended attributes;
712 * as to simplify the amount of work required by the
725 * This is the routine used to extract files for the 'x' and 'i' commands.
753 * Check to see if any files remain to be extracted
758 * If a map of inode numbers to tape volumes is
759 * available, then select the next volume to be read.
802 * Since we only attempt to extract files listed in the
803 * dump map, the lost files must have been due to a tape
856 char *to, *from;
864 to = savename(myname(ep));
874 from, to, strerror(saverr));
880 (void) lf_linkit(to, from, SYMLINK);
882 (void) lf_linkit(to, from, HARDLINK);
891 freename(to);
897 * We do this to insure that all the requested work was done, and
962 * themselves are assumed to be removed automatically when the
986 * Move all the extended attributes associated with orig to
994 char *to, *from;
1003 /* no attributes to move */
1014 /* no attributes to move */
1028 resolve(targ, &tfd, &to);
1029 if ((tofd = openat64(tfd, to, O_RDONLY|O_NONBLOCK)) == -1 ||
1031 fprintf(stderr, gettext("%s: cannot create attributes: "), to);
1041 gettext("%s: cannot allocate DIR structure to attribute directory: "),