LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   temporarily disable automount (https://www.linuxquestions.org/questions/linux-newbie-8/temporarily-disable-automount-337278/)

bnj 06-26-2005 07:12 AM

temporarily disable automount
 
I tried to burn a data-dvd using k3b. It failed.
I have searched on google, and I have seen many people recommending to disable the automount feature while burning a DVD. So I would like to try it out.

So here is my question: how to temporarily disable the automount of DVDs on my system? Is there a better way then deleting (or commenting out) a line in /etc/fstab ?
I am usually very happy with this automount feature. I really want it disabled _only_ when I am trying to burn a DVD.

I am using SuSE 9.3 Professional.

Best regards,

Benjamin

trickykid 06-26-2005 07:48 AM

Simple stop the autofs daemons or pid's. Usually its a /sbin/service autofs stop

bnj 06-26-2005 07:57 AM

Thank you trickykid for your answer, but could you please be a bit more specific?
I have tried to do a "ps -u root" and a "ps -u benjamin" but I could not find any process called "autofs" or anything alike.
I have cheked whether I have a file or programm called "/sbin/service", but I do not have it.

So how do I stop this deamon that you are talking about? (Do I have to call an exorcist ;-) ?)
And then, how do I restart it?

By the way, while searching on google, I have seen that in Mandrake, there is an easy GUI way to stop this automount service. Is there no such thing in SuSE?

Thank you,

Benjamin

Jana Kazakh 06-26-2005 08:09 AM

As root, try "ps-A", this should list *all* processes on the system (mind out, if you're running an X server, you'll have a lot of them). Find autofs, and note the number to the left of it. then run "kill ####", where #### is the number you just looked up. This should do your exorcism for you. If you want to doublecheck, run "ps -A" again, autofs should be gone.

If you don't see it the first time round, autofs isn't running in the first place. You may have another daemon running (I don't know SuSe), but I'm about to step out of my depth here, so I'll stop.

bnj 06-26-2005 08:41 AM

well, I tried to type "ps-A", and it turns out I do not have a deamon called autofs.
Anybody knows the name of this deamon on SuSE?

Still, I would be happy if there was a solution other than killing a process.

thanks to all of you,

Benjamin


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