This is very hard (read: highly unsafe) to do on the PC, because the
hardware doesn't give a signal to the OS that something has been
inserted, and even worse -- that something is about to be removed.
Even IDE CD-ROMs with a soft button and motorized mechanisms, which
*should* be able to do this, don't give the software the neccessary
clues that something has been inserted, or that someone pressed the
button.
-hpa
-- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key I am Bah�'� -- ask me about it or see http://www.bahai.org/ "To love another person is to see the face of God." -- Les Mis�rables- 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/