- extractdirs(dirmodefile);
- entry = (struct entry **)
- calloc((int)maxino, sizeof(struct entry *));
- if (entry == (struct entry **)NIL)
- panic("no memory for entry table\n");
- (void)addentry(".", ROOTINO, NODE);
- while (argc--) {
- if ((ino = psearch(*argv)) == 0 ||
- BIT(ino, dumpmap) == 0) {
- fprintf(stderr, "%s: not on tape\n", *argv++);
- continue;
- }
- if (mflag)
- pathcheck(*argv, NEW);
- if (hflag)
- treescan(*argv++, ino, addfile);
- else
- addfile(*argv++, ino, LEAF);
- }
- createfiles();
- setdirmodes(dirmodefile);
- if (dflag)
- checkrestore();