GNOME Bugzilla – Bug 162899
helpfull umount
Last modified: 2006-07-04 08:16:31 UTC
Problem When a process blocks a unmount(), a small popup saying 'device is busy' appears on screen. No additional help is given to the user to help resolve the block. Nautilus does a really wonderfull job of noticing a unmount and automaticaly closes and open windows on the filesystem being unmounted. This behaviour could be extended to other gnome applications too. Although this functionality does help alleviate the problem, sometimes shit happens. There are countless other 3rd party applications that can potentially block an unmount. Possible Solution: Make the popup that occurs in case of a unmount failure to be like a wizard. It could list the applications blocking a unmount (maybe obtained from lsof). It could also provide the user with possible solutions to the block (optionally terminating the application) and information on the application blocking the unmount. In other words, in a user-friendly desktop environment the user should not be forced to use the command line to resolve a block. As much feedback as possible please. We need the best solution that everyone agrees with. Thanks for gnome 2.8... it just gets better and better ;-) William Heyland sorry for the spelling mistakes
Yes this would be great! I often have that famd holds a lock on one of my usb partitions and therefore can't be unmounted. The only way right now to figure it out is to run lsof. So something like this would really help!! Thansk, Fabian
In order to develop a portable solution. It may be a good idea to develop or extend a portable library dedicated to handling mounts. The library could offer a simple API for handling an unmount along with extensive feedback and assistance in case of failures. If a portable library could be developed then including this functionality on the command line, gnome, kde and any other environments may be easy. just an afterthought ;-)
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 147423 ***