For more accurate results I made a clean install of Raring on external HDD.
I updated gvfs to the latest version (1.15.4-0ubuntu1).
For USB flashes I have "/sys/block/sdc/removable = 0" and
and 'gvfs-mount -o' reports on Eject (from Nautilus or Unity) "Volume removed" or "Mount removed", device is still powered.
udisksd[2274]: Unmounted /dev/sdc1 on behalf of uid 1000
/var/log/syslog: kernel: [ 2507.403900] sdc: detected capacity change from XXXXXXXXXXX to 0
If I send manually 'udisks --detach /dev/sdc' after which 'gvfs-mount -o' reports "Drive disconnected".
/var/log/syslog: kernel: [ 2694.313868] usb 3-1.2: USB disconnect, device number 25
For USB HDD I have "/sys/block/sdc/removable = 0" and
'gvfs-mount -o' reports on "Safely remove" (from Nautilus) or "Safely remove parent drive" (from Unity) "Drive disconnected", but HDD is still rotating.
/var/log/syslog: kernel: [ 2954.171781] usb 3-1: USB disconnect, device number 29
So device is removed from the /dev filesystem. So I can't --detach it with 'udisks --detach /dev/sdc'.
It seems to be a complex problem between udisks2 and gvfs, etc.
Two weeks ago I tested Fedora 18 and OpenSuSe 12.2 - they have 'Safely remove' broken too.
I dont think that there is something wrong with my hardware. You can make tests and collect all logs on your machine and compare the results.
Thank you, Martin!
For more accurate results I made a clean install of Raring on external HDD.
I updated gvfs to the latest version (1.15.4-0ubuntu1). sdc/removable = 0" and
For USB flashes I have "/sys/block/
and 'gvfs-mount -o' reports on Eject (from Nautilus or Unity) "Volume removed" or "Mount removed", device is still powered.
udisksd[2274]: Unmounted /dev/sdc1 on behalf of uid 1000
/var/log/syslog: kernel: [ 2507.403900] sdc: detected capacity change from XXXXXXXXXXX to 0
If I send manually 'udisks --detach /dev/sdc' after which 'gvfs-mount -o' reports "Drive disconnected".
/var/log/syslog: kernel: [ 2694.313868] usb 3-1.2: USB disconnect, device number 25
For USB HDD I have "/sys/block/ sdc/removable = 0" and
'gvfs-mount -o' reports on "Safely remove" (from Nautilus) or "Safely remove parent drive" (from Unity) "Drive disconnected", but HDD is still rotating.
/var/log/syslog: kernel: [ 2954.171781] usb 3-1: USB disconnect, device number 29
So device is removed from the /dev filesystem. So I can't --detach it with 'udisks --detach /dev/sdc'.
It seems to be a complex problem between udisks2 and gvfs, etc.
Two weeks ago I tested Fedora 18 and OpenSuSe 12.2 - they have 'Safely remove' broken too.
I dont think that there is something wrong with my hardware. You can make tests and collect all logs on your machine and compare the results.