Thank you for your commits, David!

I installed all build-dependencies on my Ubuntu 14.04 system with 'apt-
get install build-dep', did a 'git clone
git://anongit.freedesktop.org/udisks', did './autogen.sh', did 'make',
did 'sudo checkinstall make install', verified that I have udisks 2.1.3
installed with 'apt-cache policy', did 'mv
/usr/local/share/polkit-1/actions/org.freedesktop.udisks2.policy
/usr/share/polkit-1/actions/' and rebooted my machine.

Please note: automount is disabled.
What I get after reboot?


1. for USB-HDDs (both drives have EXT4 and NTFS partitions)
1.1. Seagate - 'Safely remove drive' option in Nautilus spinned-down it, 
gnome-disks spinned-down it after click on 'Power off the drive'. The 
'udisksctl power-off -b /dev/sdX' works too. 
If I enable automount, the 'Safely remove drive'/'Power off the drive' 
spins-down my drive. It's very good!

1.2. WD - 'Safely remove drive' option in Nautilus spinned-down it, gnome-disks 
'Power off the drive' and 'udisksctl power-off -b /dev/sdX' works too.
But there is a little difference - if I enable automount the 'Safely remove 
drive'/'Power off the drive' does not spin-down the disk (disk plates rotating, 
but device is removed from system), I reopen the bug because of this.

2. for USB-flashes
There is no 'Safely remove drive' option in Nautilus for my USB-flashes. After 
'Eject' the parent device remains in system and may be powered-off by 
gnome-disks. For me it's a good compromise between udisks1 and udisks2 behavior.


I'm ready to test and collect logs of my WD USB-HDD. I can't understand why 
Seagate drive unmounts all partitions before power-off, but WD does not.
What logs can help you to understand the problem?

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

Title:
  Safely remove is not working (or broken) in Gnome Disks

Status in GNOME Disks:
  Fix Released
Status in abstraction for enumerating and managing block devices:
  Confirmed
Status in “gnome-disk-utility” package in Ubuntu:
  New
Status in “gnome-disk-utility” package in Fedora:
  Unknown
Status in “gnome-disk-utility” package in openSUSE:
  Confirmed

Bug description:
  In 12.04 I was able to safely remove USB-stick (make its LED off) and USB-HDD 
(do a spin down).
  In 13.04 this option is missed.

  In 13.10 it is appeared again, but not working as expected:
  +    Gnome Disks normally powers off the USB flash (tested on 4 different 
flashes and 2 USB cardreaders).
  -     Gnome Disks does not spin down USB HDD (but udisks --detach does)

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: gnome-disk-utility 3.8.2-1ubuntu2
  ProcVersionSignature: Ubuntu 3.10.0-1.8-generic 3.10.0-rc7
  Uname: Linux 3.10.0-1-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: i386
  Date: Sat Oct 12 13:39:21 2013
  InstallationDate: Installed on 2013-03-06 (219 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130306)
  MarkForUpload: True
  SourcePackage: gnome-disk-utility
  UpgradeStatus: Upgraded to saucy on 2013-06-23 (110 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-disk-utility/+bug/1239087/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to