Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
bdz
Posts: 63
Joined: 2008-06-16 04:32

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

#1 Post by bdz »

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

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

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

#2 Post by Head_on_a_Stick »

Code: Select all

# aptitude purge gvfs.
deadbang

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

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

#3 Post by dilberts_left_nut »

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

... or 'aptitude why udisks2'
AdrianTM wrote:There's no hacker in my grandma...

bdz
Posts: 63
Joined: 2008-06-16 04:32

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

#4 Post by bdz »

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

Post Reply