I found two workarounds. Workaround 1) On Xubuntu 14.10 using Thunar 1.6.3 file manager I managed to stop the automatic remount of unmounted USB 3.0 drives using USB 3.0 ports. In Thunar: Edit -> Preferences -> Advanced -> "Configure the management of removable drives and media." -> "Storage" tab: I unchecked the "Mount removable drives when hot-plugged" option. With this setting, after unmounting the USB 3.0 device in Thunar, 'dmesg | grep USB' has these new lines: [ 1902.911399] usb 4-3: USB disconnect, device number 7 [ 1903.395819] usb 4-3: new SuperSpeed USB device number 8 using xhci_hcd [ 1903.412365] usb 4-3: New USB device found, idVendor=174c, idProduct=55aa [ 1903.412379] usb 4-3: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 1903.413049] usb-storage 4-3:1.0: USB Mass Storage device detected The USB 3.0 external HDD stops for a second and starts spinning after that (like before unchecking the mentioned preference), the device can be seen in /dev/ but is not mounted. As a side-effect of this, thunar doesn't automount drives plugged in.
Workaround 2) Instead of using the eject buttons, right-click -> "Unmount" each partition of the device in the file manager (I tested this with Thunar). Screenshots available at https://www.dropbox.com/sh/iax2x6by866nbtq/AADd3ljfdAn2ljqkZrJg0Spda?dl=0 ** Attachment added: "two workarounds" https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/+attachment/4268303/+files/Thunar_uncheck_setting.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu. https://bugs.launchpad.net/bugs/792085 Title: Automatic remount of safely removed drive Status in “nautilus” package in Ubuntu: Confirmed Status in “udev” package in Ubuntu: Confirmed Bug description: Binary package hint: nautilus When I choose "Safely remove drive" context menu entry for an external USB drive within a nautilus window or directly clicking on the desktop icon, after about 10 seconds the drive is automatically remounted and a Nautilus window showing the root folder opens. I have noticed that similar already happened with a very old Ubuntu version - Bug #110589 and as that is so long time ago I thought it is better to open a new bug. Reason of the problem might even be completely different. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: nautilus 1:2.32.2.1-0ubuntu13 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2 Uname: Linux 2.6.38-8-generic-pae i686 Architecture: i386 Date: Thu Jun 2 23:40:08 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) ProcEnviron: LANGUAGE=en_US:en LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nautilus UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/792085/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp