Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 607812 Details for
Bug 852196
Can't safely remove a USB removable hard drive
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
detach external HDD patch
kdelibs-solid-detach-external-hdd.patch (text/plain), 1.11 KB, created by
Lukáš Tinkl
on 2012-08-29 08:26:53 UTC
(
hide
)
Description:
detach external HDD patch
Filename:
MIME Type:
Creator:
Lukáš Tinkl
Created:
2012-08-29 08:26:53 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/solid/solid/backends/udisks/udisksstorageaccess.cpp b/solid/solid/backends/udisks/udisksstorageaccess.cpp >index 3773927..63470ec 100644 >--- a/solid/solid/backends/udisks/udisksstorageaccess.cpp >+++ b/solid/solid/backends/udisks/udisksstorageaccess.cpp >@@ -199,6 +199,14 @@ void UDisksStorageAccess::slotDBusReply( const QDBusMessage & reply ) > QDBusMessage msg = QDBusMessage::createMethodCall(UD_DBUS_SERVICE, drivePath, UD_DBUS_INTERFACE_DISKS_DEVICE, "DriveEject"); > msg << QStringList(); // options, unused now > c.call(msg, QDBus::NoBlock); >+ >+ // power down removable USB hard drives, rhbz#852196 >+ UDisksDevice drive(drivePath); >+ if (drive.prop("DriveCanDetach").toBool()) { >+ QDBusMessage msg2 = QDBusMessage::createMethodCall(UD_DBUS_SERVICE, drivePath, UD_DBUS_INTERFACE_DISKS_DEVICE, "DriveDetach"); >+ msg2 << QStringList(); // options, unused now >+ c.call(msg2, QDBus::NoBlock); >+ } > } > > m_teardownInProgress = false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 852196
: 607812 |
607982