LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   AUTOFS problem in Centos 5 (https://www.linuxquestions.org/questions/linux-newbie-8/autofs-problem-in-centos-5-a-661727/)

sm0king_ac3 08-10-2008 02:27 AM

AUTOFS problem in Centos 5
 
Hello Friends,

I'm getting some problem with autofs service in CentOS 5. I read man pages and some online documents about autofs and I did config as written but its not working for me. I think I am forgetting some critical step or... I don't know...

Here is my auto.master file.

Code:

/mnt        /etc/auto.misc
/net        -hosts
+auto.master

And auto.misc file contains...

Code:

cd                -fstype=iso9660,ro,nosuid,nodev        :/dev/hdc
/dev/hdc is mine DVD RAM drive.

And after inserting CD in drive, I do ls /mnt and I see nothing. I reload, restart autofs service but nothing happens. What should I do? Am I forgetting some step in this auto mounting process?

Please help.

Mr. C. 08-10-2008 02:54 AM

The file system is mounted upon first use. Try cd'ing into the directory, or access a file you know exists.


All times are GMT -5. The time now is 10:00 AM.