All of lore.kernel.org
 help / color / mirror / Atom feed
* Detecting CDROM Eject key press
@ 2004-10-06 12:40 Vedran Rodic
  2004-10-11 10:08 ` Vedran Rodic
  0 siblings, 1 reply; 3+ messages in thread
From: Vedran Rodic @ 2004-10-06 12:40 UTC (permalink / raw)
  To: linux-ide

Hello

Can I detect that CDROM Eject key has been pressed when the cdrom is 
mounted and the CDROM door is locked?

This, together with kernel notifying me of CDROM status changes (cdrom 
has media, cdrom is empty) would completely solve the cdrom automount 
issues.

Userspace program then could detect that the eject key has been pressed, 
close files on the media, and do a clean unmount.


Thanks


Vedran Rodic

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-11 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 12:40 Detecting CDROM Eject key press Vedran Rodic
2004-10-11 10:08 ` Vedran Rodic
2004-10-11 10:54   ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.