>Ilya Dorfman <[EMAIL PROTECTED]> wrote:
>> How can a Linux application handle error conditions on SCSI tape?
>> What can be done when read() returns -1 because of tape corruption?


From: Marc SCHAEFER <[EMAIL PROTECTED]>
read errno (or perror("can't read()");)



Thanks, Marc.

Yes,I understand that errno will give me the reason read() failed.
My question is if I can continue reading the tape after read() has failed.
If I use something like 'tar' format, with 512 byte logical block and, say, 
8K physical block, will I lose just some number of physical blocks,
or will my data become completely unaligned? How will the fact that the
tape drive compresses the data affect further reading?



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to