[Bug 87022] When an app prevents from umounting, tell the user which app it is

Carlos Fenollosa topopardo at topopardo.com
Thu Feb 22 12:33:35 UTC 2007


Public bug reported:

Binary package hint: gnome-volume-manager

This is kind of "wishlist" bug, but very useful for a novice user.

When there is a mounted drive (let's say, USB pendrive) and there is
some app using it (let's say, a gnome-terminal cd'ed to
/media/pendrive), if the user tries to umount it from Nautilus (right
click -> umount), a window appears telling him/her that "An application
is using the drive and it cannot be umounted".

What I ask is that it would be very useful to internally run a "lsof
/media/pendrive" (or whatever path) and tell the user which app is
preventing the umount. For example, a message saying "Gnome-terminal is
preventing the umount" tells the user which app he/she must close to
complete the umount.

ProblemType: Bug
Date: Thu Feb 22 13:29:01 2007
DistroRelease: Ubuntu 7.04
Uname: Linux vayralemine 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

** Affects: gnome-volume-manager (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
When an app prevents from umounting, tell the user which app it is
https://launchpad.net/bugs/87022




More information about the desktop-bugs mailing list