First of all - check whether eject opens the device
O_NONBLOCK by doing an strace. If that is the case you
have stumpled upon a known bug that I do have a fix for
in my tree. If you want it badly you can get it, but
otherwise expect it in 2.2.2/3.
-- * 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/