So I've been spending the past few hours trying to figure out how to get automounting working when I should have been in bed with my wife. So I'll drop off a question and come back to it whenever it is that I'll get up, and hope there are some answers.
First of all, my understanding of automounting is when the disk goes in (or when it's needed) it's mounted. When I hit eject, it at least attempts to unmount and eject. I'm speaking mostly of CDs here.
I've looking into how to make it happen quite a bit. I thought autofs is the best bet, since I just upgraded to a 2.6.9 kernel yesterday, and noticed the autofs module is included. I managed to find an autofs script (now in /etc/rc.d/rc.autofs) from
this thread. But from what I understood from that thread is, after setting up say, auto.rd as in his example, the cdrom's path would now be /mnt/rd/cdrom. Why the change? And is there a way to keep it the same old /mnt/cdrom?
What I basically need is a quick walkthrough of what should go in the auto.master and auto.* file(s) to make this all work. I have a CD-RW/DVD, CDROM and a floppy, and kernel 2.6.9 as I said above.