The reason that
$ udisks --detach /dev/sdX
spins down the disk properly but clicking the "Power off" menu item in
the GNOME Disks application doesn't has to do with the fact that the
udisks program is from udisks version 1 and was rewritten in udisks
version 2.
udisks v1: http://cgit.freedeskto
OK, I just made that change
http://cgit.freedesktop.org/udisks/commit/?id=fcdd8f48b6ac9b1b6da82fdf5f59230fc2ea6feb
and tested it with a couple of different units. Notes
- One of my devices (bus-powered) does not accept the START STOP UNIT
command so we just continue if it fails. That is, thi
> command “sg_start --stop /dev/sdX” really spin-downs my drive (sometimes
> on 2nd or 3rd attempt - I don’t know why), device remains in system and
> spin-up again only on my demand.
Btw, this is because the sg_start command opens the device node with
O_RDWR which causes an uevent 'change' event
Thanks for testing. I'll look into making udisks2 sending SYNCHRONIZE
CACHE and START/STOP UNIT commands. Stay tuned.
--
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
T
(Hmm, the drives have
can_stop=1
start_stop_type=shutdown
so everything should be good. My guess is that it's the NTFS partition
that is the culprit. Specifically, unmounting it via udisks somehow
fails.)
If you manually unmount the partitions, does powering down the drive
wo
OK, I'm interested in output of /var/log/messages when it doesn't work
with the WD. Or is that what you posted in comment 15?
--
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/12
(In reply to comment #22)
> I have 500Gb of data on my NTFS partition, so I do not want to reformat my
> HDD. I'm sorry for this.
Fair enough. I'll try to see if I can repro on my hardware.
> If there are no other differences - please add SYNCHRONIZE CACHE, I'm ready
> to do a test and report bac
(In reply to comment #20)
> >OK, I'm interested in output of /var/log/messages when it doesn't work with
> >the WD. Or is that what you posted in comment 15?
> I tested it again - the log in comment 15 represent both situations - when
> drive spinned-down and when it does not. Only timestamps diff
Hey, thanks for testing the patches.
(In reply to comment #10)
> 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
I have an idea of
Let me see if I understand this correctly:
1. Manually unmount, then power-off via the Disks GUI works as expected.
2. The "safely remove drive" button in Nautilus does not work as expected.
Is that about right?
--
You received this bug notification because you are a member of Desktop
Package
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
I'll take a look.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1281588
Title:
Disk standby timer is broken
Status in abstraction for enumerating and managing block devices:
Confi
Hi, finally got around to making udisks also send the SYNCHRONIZE CACHE
command. Please check if it works. The patch is on master and here:
http://cgit.freedesktop.org/udisks/commit/?id=429892f2ec39d66732bee0f78d093eb6d2c5433f
Thanks!
--
You received this bug notification because you are a memb
Hi, sorry for the lack of updates. Nothing special, just been busy with
work, I'm still planning on adding the SYNCHRONIZE CACHE command.
Hopefully I'll get to look at it soon. Thanks.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome
(Sorry for being slow. Will post feedback soon.)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1281588
Title:
Disk standby timer is broken
Status in abstraction for enumerating and
In udisks 2.0 this is now handled by libblkid through invocation from
udev so I'm closing this NOTOURBUG.
That said, if you don't mind, please test if it's the problem also
exists with that codebase (it's completely different from udisks-part-
id). Thanks!
--
You received this bug notification b
16 matches
Mail list logo