Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-21-2012, 11:08 PM   #1
LQ Newbie
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Stop auto mounting my pen drive

Is there is any way that i don't want my pen drive to be automatically mounted when it is inserted
Old 08-21-2012, 11:22 PM   #2
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
Posts: 794

Rep: Reputation: 56
If using Gnome, uncheck the following checkbox in gconf.


Or try running this as root (also if using Gnome):
gconftool-2 --type bool --set /apps/nautilus/preferences/media_automount false
If you're not using Gnome, you could try editing /etc/fstab if the device is listed there, not an expert on messing with that file though.

Here's the Google results:
Old 08-22-2012, 07:28 AM   #3
Registered: Jun 2006
Location: dartmouth, nova scotia
Distribution: slackware 12.1
Posts: 74

Rep: Reputation: 2
there's a noauto setting in fstab you can look up.
Old 08-22-2012, 10:09 PM   #4
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
Originally Posted by paul88 View Post
Is there is any way that i don't want my pen drive to be automatically mounted when it is inserted
What distribution and what GUI (KDE, Gnome, etc) are you using? If you are using KDE go to the Menu and click on "System Settings" and navigate to "Hardware > Removable Devices" and uncheck "Enable automatic mounting of removable media".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB pen drives not auto prompting or auto mounting on KDE3.5 (PCLOS) k.king Linux - General 1 03-17-2009 03:16 PM
mounting pen drive neerajgupta Linux - Newbie 2 05-30-2008 12:26 AM
Auto-mounting pen drive jojotx0 Linux - General 3 03-10-2005 08:19 AM
Mounting Pen Drive coolfrog Linux - General 4 09-09-2004 09:10 AM
USB Pen drive & camera - Auto sort? r_jensen11 Linux - Hardware 1 07-22-2004 11:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration