LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to make automount work? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-make-automount-work-148690/)

jaan kaer 02-21-2004 05:56 AM

how to make automount work?
 
how can i make automount work on debian testing running gnome?
is i insert an audio-cd, it starts whirrling, but no icon on desktop and no any sign of mounting

data-cd-s don't even bother to spin :)

well, what should i do to make them work?
"ls -al /dev/cdrom" shows me this:
lrwxrwxrwx 1 root root 9 2004-02-15 21:00 /dev/cdrom -> /dev/scd0

but i have two cd-roms in my machine...

SleepLess 02-21-2004 06:34 AM

cdrom automount
 
edit /etc/auto.misc

add line:
cdrom -fstype=iso9660,nodev,nosuid,ro :/dev/hdc

if your cdrom is hdb add :/dev/hdb

edit /etc/auto.master

add line:
/var/autofs/misc /etc/auto.misc

then /etc/init.d/autofs start
or /etc/init.d/autofs restart if is started before

cd /var/autofs/misc/cdrom/

done .. enjoy

jaan kaer 02-21-2004 07:03 AM

thanks! :)
but how do i know wich device file responds to wich device?

SleepLess 02-21-2004 07:20 AM

hdb or hdc or hdd
 
check your hardware configuration when your bios check hardware
hda pr master
hdb pr slave
hdc sec master
hdd sec slave
or just test in config file :>


All times are GMT -5. The time now is 04:09 PM.