I am using CentOS 6.2 and I want to disable automount of pendrive.
what is the procedure?
which file should I edit?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
As root or sudo:
If you don't want it to come back after a reboot, do this as well:
chkconfig autofs off
Now you will have to mount your devices manually. Actually this isn't the case on my SL6.3 box, so I was wrong, I guess it has to do with udev.
And Finally here is the answer you probably want: http://www.tuxradar.com/answers/706