Trapping eject button on CD-ROM
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
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