EJECT ioctl fails on empty SCSI CD-ROM

From: W. Michael Petullo (mike@flyn.org)
Date: Wed Nov 15 2000 - 12:59:58 EST


Apparently using the CDROMEJECT ioctl with kernel 2.4-testX fails on
a SCSI CD-ROM that does not have a disc in it. The errno returned
corresponds to the string ``No such file or directory.''

The Linux CD-ROM Standard states that CDROMEJECT opens the drive tray.
It does not mention any prerequisite such as media being present.

Is this the expected behavior? If so, I am curious to hear the rationale
behind it.

Thanks!

-- 
W. Michael Petullo

:wq - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:28 EST