Displaying 1 result from an estimated 1 matches for "tot_fil".
Did you mean:
int_fil
2003 Aug 20
1
(Fwd) Lost data on FreeBSD tape (fwd)
...y %d.\n",
dev->buf_len, stat);
}
}
}
/*
* Scan tape by reading block by block. Report what is
* on the tape. Note, this command does raw reads, and as such
* will not work with fixed block size devices.
*/
static void scancmd()
{
int stat;
int blocks, tot_blocks, tot_files;
int block_size;
uint64_t bytes;
blocks = block_size = tot_blocks = 0;
bytes = 0;
if (dev->state & ST_EOT) {
printf("End of tape\n");
return;
}
tot_files = dev->file;
printf("Starting scan at file %u\n", dev->file);
for (;...