Hi friends,
I have one question, if anybody can answer it.
Question :
(I am performing operations on tape drive using st driver)
While performing read operation on tape (using read()), EOD occured.
After EOD occured, i m firing MTIOCGET request and getting the tape status.
After getting tape status, i am checking for the GMT_EOD. But GMT_EOD is not getting set.

Can anybody tell the reason why GMT_EOD is not getting set even if read() fails because of EOD occured ??

And if we knew things like which OS/Compiler you're using, what the name of your tape device is, and your actual code (not just a description of it), we might be able to do something with it.