Bug 60293

Summary: Missing the "Safely Remove Drive" option
Product: udisks Reporter: Dražen Lučanin <kermit666>
Component: generalAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: kermit666, schlomo, vindrg
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Dražen Lučanin 2013-02-04 19:46:44 UTC
A forward of bug 1067876 ( https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1067876 ) on Launchpad:

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)
Comment 1 Dražen Lučanin 2013-02-04 19:47:39 UTC
Also, the safely remove option would recognise if the external drive had multiple partitions and offer to remove the master device if I remember correctly. Now I have to manually unmount four partitions on my 2 TB external disk every time I want to remove it.

Expected behaviour - when it's detected that the user is ejecting a partition that is on an external drive containing more partitions, it should offer to safely remove the whole device. Alternatively there should be two options upon right clicking a drive icon - "unmount only the partition" and "safely remove master device".
Comment 2 tecknode 2013-02-05 15:20:24 UTC
NOTE: This bug is mirrored in https://bugs.launchpad.net/bugs/1067876

[Safely Remove] function = eject + REMOVE POWER.

It's the Remove Power function that is vitally important.  Disconnecting ANY electronic device with power applied is dangerous.

As noted in the Launchpad reference Windoz and other Linux Distros (example SUSE & Mint) have this feature.  So it should NOT have been removed from Ubuntu 12.10, there is NO logical reason why it was removed.
Comment 3 David Zeuthen (not reading bugmail) 2013-02-09 16:41:54 UTC
You got it somewhat wrong

 - udisks does not provide any UI => it's not the right place to report this bug
 - there was some confusion in the UI between "Eject" and "Safely Remove Drive" -> the feature was deemed confusing and removed from the UI
 - the feature will be back in the upcoming udisks 2.1 and gnome 3.8 releases, see
   - http://git.gnome.org/browse/gvfs/commit/monitor/udisks2/gvfsudisks2drive.c?id=b3f72baca687f81e7618d4b829ade2df2b59d2b8
   - http://cgit.freedesktop.org/udisks/commit/?id=81dcb6eeaeceb6c6faae1a40a5b34a65cd5af653

Either way, udisks is the wrong component to report bugs on this so closing NOTOURBUG.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.