Review Request 125248: Display name of process which blocks umount / eject

Igor Poboiko igor.poboiko at gmail.com
Wed Sep 16 19:19:51 UTC 2015



> On Сен. 16, 2015, 6:57 п.п., Valerio De Angelis wrote:
> > File Attachment: Applet with error message - snapshot11.png
> > <https://git.reviewboard.kde.org/r/125248/#fcomment439>
> >
> >     Could be possible put here:
> >     1) the same application list shown in the device page as per the screenshot
> >     2) the applications list in bold

This is actually a notification shown by KNotify4, by same class but from KDE4-Runtime. It is installed on my system together with Plasma 5; it shouldn't be there.


- Igor


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125248/#review85507
-----------------------------------------------------------


On Сен. 16, 2015, 6:07 п.п., Igor Poboiko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125248/
> -----------------------------------------------------------
> 
> (Updated Сен. 16, 2015, 6:07 п.п.)
> 
> 
> Review request for Plasma and Solid.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> An attempt to implement feature from [bug 96107](https://bugs.kde.org/show_bug.cgi?id=96107) (see summary).
> 
> On umount/eject error it runs "lsof" executable, gets PIDs of blocking processes and obtains names of processes via KSysGuard::Process machinery. Finally it appends obtained information to error message which is shown in tooltip of Device Notifier applet.
> 
> 
> Diffs
> -----
> 
>   dataengines/devicenotifications/ksolidnotify.cpp 35d49d6 
>   dataengines/devicenotifications/ksolidnotify.h a471d50 
>   dataengines/devicenotifications/CMakeLists.txt 3f7fd83 
> 
> Diff: https://git.reviewboard.kde.org/r/125248/diff/
> 
> 
> Testing
> -------
> 
> Tested unmount on busy device with several processes blocking it. Did not test eject, since I have no optical disc drive :(
> 
> 
> File Attachments
> ----------------
> 
> Applet with error message
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/09/15/3b1b64fc-abff-4633-9dca-621388edf086__snapshot11.png
> 
> 
> Thanks,
> 
> Igor Poboiko
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150916/27a8c3f1/attachment.html>


More information about the Plasma-devel mailing list