darkpg7
Posts: 2
Joined: Fri Nov 14, 2014 10:32 pm

Disable automount

Fri Nov 14, 2014 11:06 pm

Hello guys,

I need disable the automount Pen drive in raspberry, I tried edit the [ pcmanfm.conf ] , but nothing.
In my Debian have the hotplug, and i can disable using the udev. The raspberry have this options ?

Thanks
regards,

DirkS
Posts: 10737
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Disable automount

Sat Nov 15, 2014 7:05 pm

Open the file manager (pcmanfm); go to the settings / preferences. In one of the tabs of this dialog you can disable all the automount stuff...

HTH
Dirk.

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Disable automount

Sat Nov 15, 2014 7:40 pm

Or, you can edit/create the following file:

~/.config/pcmanfm/LXDE/pcmanfm.conf

and make sure it contains:

Code: Select all

[volume]
mount_on_startup=0
mount_removable=0
Doing this is part of my standard "tasks to make Raspbian usable".
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

darkpg7
Posts: 2
Joined: Fri Nov 14, 2014 10:32 pm

Re: Disable automount

Sat Nov 15, 2014 8:06 pm

Thanks guys !

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

plugwash
Forum Moderator
Forum Moderator
Posts: 3766
Joined: Wed Dec 28, 2011 11:45 pm

Re: Disable automount

Sat Mar 16, 2019 8:43 pm

Looks like the path has changed, the config file now seems to be.

/home/pi/.config/pcmanfm/LXDE-pi/pcmanfm.conf

Return to “Beginners”