-
- case 'x':
- setup();
- 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--) {
- canon(*argv++, name);
- if ((ino = psearch(name)) == 0 ||
- BIT(ino, dumpmap) == 0) {
- fprintf(stderr, "%s: not on tape\n", name);
- continue;
- }
- if (mflag)
- pathcheck(name, NULL);
- if (hflag)
- treescan(name, ino, addfile);
- else
- addfile(name, ino, inodetype(ino));
- }
- createfiles();
- createlinks();
- setdirmodes(dirmodefile);
- if (dflag)
- checkrestore();
- done(0);
-