At 03:41 PM 4/22/99 , Ilya Dorfman wrote:
>Hi,
>I have a SCSI tape.
>Is there a way to find out that I'm about to reach the end of the tape?
>When write() returns the value that is less than the buffer size that
>means that EOT is reached and nothing more could be written.
>Is there any 'early notification' about EOT?

The drive should raise a check condition at early warning.  The sense
bytes should then show sense key = 0 and have the EOM (0x40) bit
set in sense byte [2].  At that point you should still have room to write
a trailer label block, tape marks, etc. before hard end of media.
        Earl.

>
>Thanks,
>
>Ilya Dorfman
>Procom Technology, Inc
>(949) 794-4620
>[EMAIL PROTECTED]
>
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to [EMAIL PROTECTED]

Reply via email to