LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   mounting cd-rom and floppy drives (http://www.linuxquestions.org/questions/slackware-14/mounting-cd-rom-and-floppy-drives-77905/)

leeman_s 07-31-2003 11:23 PM

mounting cd-rom and floppy drives
 
how would i go about writing a real short script (~2 lines) to mount the cd-rom drive and floppy drive at system startup? each time i reboot i have to mount them myself.

thanks.

Tinkster 07-31-2003 11:28 PM

Are you always using the same media in
both devices? :)

All you'd need to do is a little change
in /etc/fstab

Make the word noauto in the lines for
floppy and CD auto.

Cheers,
Tink

ptruog 08-01-2003 02:05 PM

/dev/hdd /mnt/cdrom iso9660 ro,exec,noauto,user 0 0

This is one of my entries in my /etc/fstab file... your mileage may differ. But if you see where it says "noauto" in the 4th column, you'd simply change yours to auto...


All times are GMT -5. The time now is 07:19 PM.