Skip to contentSkip to conversation

Trapping eject button on CD-ROM

DISCUSSION Jon Niehof 2 participants 2 messages Mar 14, 2004 Kernel automounter

lore
Share & tools
lore

Jon Niehof

author
#0 lore raw

Apologies if this has been asked before; I read a HOWTO that seemed to imply it was possible but haven't seen anything beyond that.

Is it possible to configure autofs to "catch" the eject button on a CD-ROM and unmount the filesystem (presuming it's not busy, of course), then eject?

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

#1 lore raw
Quoted 8 lines · Jon Niehof

Apologies if this has been asked before; I read a HOWTO that seemed to imply it was possible but haven't seen anything beyond that.

Is it possible to configure autofs to "catch" the eject button on a CD-ROM and unmount the filesystem (presuming it's not busy, of course), then eject?

No.

If you monitor insert and eject you don't want autofs anyway. You want something like what Solaris calls "vold".

-hpa