https://bugs.kde.org/show_bug.cgi?id=402660

--- Comment #8 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
(In reply to David Edmundson from comment #5)
> @Nate
> 
> "
> . For drives connected through USB, the effect is that the USB device will
> be deconfigured followed by disabling the upstream hub port it is connected
> to."
> 
> Which won't park the head or anything it just kills the data stream.
> 
> Instead what we actually want is to send an ATA command:
> http://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.
> Drive.Ata.html
> 
> Setting PmStandby would solve this case here as we still have a data
> connection whilst probably doing a better job of handling the hard disk case.
> 
> Is there a reason to power off?

Why are you omitting the part immediately leading your quote?

---
Arranges for the drive to be safely removed and powered off. On the OS side
this includes ensuring that no process is using the drive, then requesting that
in-flight buffers and caches are committed to stable storage. The exact steps
for powering off the drive depends on the drive itself and the interconnect
used.
---

It is not the job of solid to reinvent proper device handling, but communicate
with the operating system and its helpers.

If the power down sequence is not implemented properly in UDisks2, it would be
a bug in UDisks2, or possibly in the kernel.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to