Woohoo got the tape verify working ...

"David C. Partridge" <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
I initially tried code like:

  if ((length_of_incoming_file <= 0)  &&
     !(BLK_START_OF_TAPE == controlchar &&
        BLK_START_OF_BACKUP == controlchar))      
 {
		return(1);
	}removed the 

but that didn't work as  got a lot of header block type comparison failures
before it all fell over in a heap.

Just removing the following lines in libmondo-stream.c at line 1764
   if (length_of_incoming_file <= 0) {
		return(1);
	}

wrote a tape that verified successfully!

Dave



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.