Same deal. For ioctl the device _should_ be opened O_NONBLOCK -
then the open won't fail when there is not a valid media in
the drive.
> With inserted CDROM it worked.
Yes, the open won't fail when a medium is inserted.
> 1.5-6 Debian eject.deb package
Since this problem comes up every now and then I'll work up
a little write explaining the problem to the maintainers of
the various cd-tools packages. I'd appreciate input on
who should be informed.
-- * Jens Axboe <axboe@image.dk> * Linux CD-ROM Maintainer * "The only thing that interferes with my * learning is my education." -- A. Einstein- 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.tux.org/lkml/