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).
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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1067876

Title:
  Missing "Safely Remove Drive" option from Quicklists. Only have
  "Eject".

Status in GVFS:
  Unknown
Status in abstraction for enumerating and managing block devices:
  Won't Fix
Status in Unity:
  Invalid
Status in “gvfs” package in Ubuntu:
  Fix Released
Status in “udisks2” package in Ubuntu:
  Fix Released

Bug description:
  In Ubuntu 12.04, I could right-click on my usb-external-harddrive's
  Unity-Task-Bar icon (launcher icon) and select "Safely Remove". Upon
  doing this, the icon would disappear and I would proceed in unplugging
  my external hard drive.

  However, since upgrading to Ubuntu 12.10, this option is no longer
  available in the context menus (Quicklists) for external drives.

  Instead, all I see is "Unmount", and after clicking "Unmount" the icon
  remains on the task-bar (launcher) and no indication is given that
  would imply that the unmount occurred successfully.

  The intent of this report is to bring back the "Safely Remove" option
  which (by making the icon disappear after selected) indicates that you
  may now safely removal your USB external hard drive (by unplugging its
  usb connector).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: unity 6.8.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
  Date: Wed Oct 17 14:55:17 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: Upgraded to quantal on 2012-10-04 (13 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1067876/+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

Reply via email to