LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Automount (http://www.linuxquestions.org/questions/linux-software-2/automount-73079/)

jailbait 07-15-2003 08:56 PM

Automount
 
I am writing a script that I want to work on as many distributions as possible. I have it working OK on SuSE 8.0, SuSE 8.1, and Yoper 3.2.1.rc3.

Then I installed Red Hat 8.0 and ran into some puzzling problems. I am building a ram disk on a loopback device and beginning with the second run of the script I start getting "disk full" messages on the loopback device even though I have umounted the ram disk, unattached the loop device, and deleted the ram disk file and the end of every run (and which works fine on the other systems).

My Red Hat 8.0 system has automount. This is the first time I have ever used automount. I strongly suspect that my problems are caused by automount and me contending for control of the mount status of the loopback device. I want to run tests to see if this is my problem.

So my question is: How do I turn automount off and then later turn it back on?

Locura 07-15-2003 09:43 PM

I'm not sure exactly, but a good place to start looking would be in the scripts in /etc/rc.d/.

jailbait 07-16-2003 04:19 PM

Thanks Locura

The script /etc/rc.d/init.d/autofs shows how to both start and stop automount.


All times are GMT -5. The time now is 01:09 AM.