Operating Systems > Linux and UNIX

Stop auto-mounting in Redhat!!!

(1/3) > >>

RudeCat7:
Alright, I wasn't paying attention before, how do I keep Redhat 8.0 from automounting an audio CD?

It's really annoying when I just want to make a back up.

Ice-9:
Edit /etc/fstab.
there should be in line in there that looks something like this

--- Code: ---
--- End code ---

Remove "auto".

Calum:
are you sure? i thought the 'auto' referred to the filesystem type eg: vfat, ext3 and so on?

however you do indeed want to edit your /etc/fstab and i would recommend using 'man mount' and this page here. to find out how to do it.

Sorry, i didn't mean to poop in your kettle, ice9, there is a huge chance that you are right and i just don't know what i am talking about, but that's what i thought.

Ice-9:
No problem at all Calum, actually you make me hesitate now, I should've taken a look at my fstab file before posting this.
I'm at work right now so I can't check on it.

I was kinda sure that was what I did when I disabled automounting for my DVD drive but now I wonder if I didn't do something else.
Can't remember from the top of my head right now.
If I posted wrong instructions, please accept my apologies.

KernelPanic:
Cakum is correct, the 'auto' does refer to the filesystem. To stop it mounting at boot you should remove that whole line. I don't think this is what he meant though, doesnt he mean a CD being mounted when inserted.

Navigation

[0] Message Index

[#] Next page

Go to full version