Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've search for an answer to this question but haven't had much luck. I am running CentOS 6.4 and am doing a lot with USB sticks. CentOS conveniently mounts a USB stick that it detects has a formatted file system on it, except that I don't want it to do this. How can I turn off this feature?
So that's an improvement. After making these changes in nautilus, the file browser no longer opens when I insert USB stick. The drives do continue to auto-mount though, under /media/<id>, just like before. I think this is controlled through something outside of nautilus, a system setting somewhere.
Hmmm. This talks about how to make something automount that isn't. I need to opposite. It does describe how to configure a new rules.d config to do this, so I might be able to use this same file for disable the automounting. Right now I don't have the rules.d file they describe here, so something else is actually doing the automounting.
I've run these commands and my USB sticks are still automounting. Are these settings intended to take place immediately or do I need to log out/in? I have too much stuff up and running right now to logout, but I'll hopefully be able to do that soonish...
I tested with a DVD/CDROM without logging out/in or rebooting, and they are not automounting. Unfortunately, in the enviroment I am in, I cannot test with a usb stick, plus I have the usb-storage module disabled. It should however work.
ETA: I also have autofs off.
#chkconfig autofs off
Another option would be to add noauto to /etc/fstab for the devices being automounted...
Last edited by JollyRogers; 05-15-2013 at 11:25 AM.
I finally rebooted my PC and it appears the gconftool commands suggested by JollyRogers did the trick. My USB sticks no longer automount when I insert them. Not exactly an intuitive operation, or at least not well documented, but at least there is a way.