LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-22-2012, 12:08 AM   #1
paul88
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-22-2012, 12:22 AM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

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

/apps/nautilus/preferences/media_automount

Or try running this as root (also if using Gnome):
Code:
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:
https://www.google.com/#hl=en&output...w=1440&bih=762
 
Old 08-22-2012, 08:28 AM   #3
sKaar
Member
 
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, 11:09 PM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Quote:
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".
 
  


Reply


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 04:16 PM
mounting pen drive neerajgupta Linux - Newbie 2 05-30-2008 01:26 AM
Auto-mounting pen drive jojotx0 Linux - General 3 03-10-2005 09:19 AM
Mounting Pen Drive coolfrog Linux - General 4 09-09-2004 10:10 AM
USB Pen drive & camera - Auto sort? r_jensen11 Linux - Hardware 1 07-23-2004 12:07 AM


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

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