! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
no umount option for removable devices
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfdesktop
Component:
General

Comments

Description Alejandro Mery 2011-05-12 17:59:24 CEST
thunar only offers "eject" option for removable devices which in some cases "ejects" internal card readers and lost until the next reboot, in lighter cases one is forced to replug the device (or card) to use it again which is very bad when the device has more than one partition.
Comment 1 Mike Massonnet editbugs 2011-11-05 12:43:56 CET
Can't reproduce in Thunar 1.3, eject simply unmounts the device.
Comment 2 Alejandro Mery 2011-11-06 23:07:21 CET
At least until 1.2.3 (current in Ubuntu 11.10) If I plug a usb storage device (say, my audio player) and press eject the device is gone until I replug it.

$ dmesg
[43616.992091] usb 1-2: new high speed USB device number 5 using ehci_hcd
[43617.072112] hub 1-0:1.0: unable to enumerate USB device on port 2
[43619.228141] usb 1-2: new high speed USB device number 6 using ehci_hcd
[43619.369939] scsi3 : usb-storage 1-2:1.0
[43620.370559] scsi 3:0:0:0: Direct-Access     SanDisk  Sansa Clip+ 8GB  v01. PQ: 0 ANSI: 0
[43620.371921] scsi 3:0:0:1: Direct-Access     SanDisk  Sansa Clip+ 8GB  v01. PQ: 0 ANSI: 0
[43620.464530] sd 3:0:0:0: Attached scsi generic sg2 type 0
[43620.464893] sd 3:0:0:1: Attached scsi generic sg3 type 0
[43620.465396] sd 3:0:0:0: [sdc] 15462400 512-byte logical blocks: (7.91 GB/7.37 GiB)
[43620.466282] sd 3:0:0:0: [sdc] Write Protect is off
[43620.466292] sd 3:0:0:0: [sdc] Mode Sense: 04 00 00 00
[43620.469029] sd 3:0:0:0: [sdc] No Caching mode page present
[43620.469041] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[43620.476046] sd 3:0:0:1: [sdd] Attached SCSI removable disk
[43620.478273] sd 3:0:0:0: [sdc] No Caching mode page present
[43620.478288] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[43620.480827]  sdc:
[43620.483490] sd 3:0:0:0: [sdc] No Caching mode page present
[43620.483503] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[43620.483508] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[43719.017823] sdc: detected capacity change from 7916748800 to 0

$ sudo disktype /dev/sdc
--- /dev/sdc
disktype: Can't open /dev/sdc: No medium found
Comment 3 Samuli Suominen 2011-11-08 16:27:47 CET
There is still no 'unmount' option in 1.2.3, only 'eject' which is not same.
Comment 4 Michael Perlov 2012-07-24 09:38:09 CEST
Created attachment 4568 
Patch to add thunar unmount menu entry
Comment 5 Michael Perlov 2012-07-24 09:39:36 CEST
I've adopted Harald's patch from http://mail.xfce.org/pipermail/thunar-dev/2011-February/004840.html to apply against thunar-1.4.0.

Tested on gentoo, seems to work perfectly
Comment 6 Michael Perlov 2012-07-24 12:03:14 CEST
Created attachment 4569 
Patch to add xfdesktop volume icon unmount menu entry

Added patch for xfdesktop to be able unmount volumes as well
Comment 7 Nick Schermer editbugs 2012-10-23 12:43:58 CEST
Adding Thunar, moving to Xfdesktop.
Comment 8 Samuli Suominen 2012-10-23 19:03:28 CEST
I just wanted to say this is the only reason I can't use Thunar for production. When connecting my work servers remotely and administrating the servers remotely through VNC if I click 'eject' I have to literally go back to my workplace, and replug the USB stick/drive to the server...

(I'm sure there is some kludge you can feed to the Linux kernel to get it back without replugging the drive, but last time I tried that it killed more services than it brought back (the kernel crashed after forcibly reloading the usb hcd modules... :-/)
Comment 9 Nick Schermer editbugs 2012-10-23 20:57:22 CEST
This work in Thunar master/1.5. Not in Xfdesktop yet.
Comment 10 Eric Koegel editbugs 2013-01-01 14:50:59 CET
Created attachment 4828 
unmount option with notifications

Proposed patch adds an unmount option as well as providing a notification message
on a successful unmount/eject.

Bug #7610

Reported by:
Alejandro Mery
Reported on: 2011-05-12
Last modified on: 2013-01-26

People

Assignee:
Eric Koegel
CC List:
8 users

Version

Version:
4.10.0

Attachments

Additional information