The system has a BusLogic BT-948 SCSI controller, and an Exabyte Eliant
drive. If you try to do things with the drive when there is *no tape*
inside, you see the following:
- The open() call succeeds just fine. Once upon a time open
would normally return EIO in this case.
- If you then do a 'write (fd, buffer, nbytes)', the return value
will be 'nbytes' and errno says 'medium not found.' The errno
value makes perfect sense, but write should really return -1. My
program wasn't looking at errno if the write appeared to succeed...
I guess my question is: is this the intended behavior? It's a definite and
incompatible change from 2.0. If nothing else, the return value from write
should be fixed.
jon
Jonathan Corbet, Eklektix, Inc.
corbet@eklektix.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html