What's automounting my usb drives and how can I stop it?

Everything about X, Gnome, KDE, ... and everything running on it

What's automounting my usb drives and how can I stop it?

Postby bdz » 2017-12-19 06:36

I've just installed a new debian system (stretch 9.3). Something is automounting usb drives. I need to figure out what's doing this and how to stop it. mount is showing

/dev/sda1 on /media/moi/f59fe131-f7c3-4e6e-b1d8-291e74e2be67 type ext4 (rw,nosuid,nodev,relatime,stripe=8191,data=ordered,uhelper=udisks2)


which of course is not in my /etc/fstab file.

Please note that I am not running gnome or any other desktop. I've got a pretty minimal openbox system. Besides debian base, the only software group I selected was "SSH server". I did not install "standard system utilities". A full list of the packages I explicitly installed is below.

I can't imagine what I might have installed that's doing the automount. I did install one package that depend on some gnome stuff: network-manager.

Any ideas would be appreciated.

thanks

Packages explicitly installed:

    aptitude
    ntp.
    man
    network-manager
    xorg
    openbox
    lightdm
    compton
    obmenu
    lxterminal
    thunar
    leafpad
    firefox-esr
    hseroot
    tint2.
    volumeicon.
    alsa-utils
    synaptic
    thunderbird.
    zotero
    libreoffice
    R
    RStudio (not from debian repository)
    Netbeans
    keepassx
    lyx
    rsync
    mercurial
    bluegriffon
    volumeicon
    pulseaudio
    pavucontrol
    cups
    printer-driver-escpr
    ccrypt
    awscli
bdz
 
Posts: 51
Joined: 2008-06-16 04:32

Re: What's automounting my usb drives and how can I stop it?

Postby Head_on_a_Stick » 2017-12-19 06:40

Code: Select all
# aptitude purge gvfs.
Charlie don't hack
User avatar
Head_on_a_Stick
 
Posts: 7633
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: What's automounting my usb drives and how can I stop it?

Postby dilberts_left_nut » 2017-12-19 06:52

Maybe Thunar / thunar-volman?
It's configurable in the settings.

... or 'aptitude why udisks2'
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: What's automounting my usb drives and how can I stop it?

Postby bdz » 2017-12-19 07:50

The culprit was Thunar. It wasn't actually automounting (that's disabled by default). But the current version (unlike the one I'm used to) displays clickable icons for some volumes, just below the "File System" icon. Apparently I clicked one by mistake, mounting a usb drive. Now that I understand this, it won't be a problem.

thanks
bdz
 
Posts: 51
Joined: 2008-06-16 04:32


Return to Desktop & Multimedia

Who is online

Users browsing this forum: 4joeyirosh1 and 7 guests

fashionable