Wbumount is a tool that lists processes which are blocking the unmounting of a device.
Wbumount has two goals: (1) Make a "statement" how i would deal with the "umount - device is busy"-problem on the free desktop. (2) To provide a small tool which makes life easier for people already using the desktop - until someone comes up with a better solution.
Wbumount helps to find out, which processes block unmounting or ejecting devices (such as cdroms, usb-harddisks...).
Wbumount only deals with mount points which are under user control ("user"-option in fstab or mtab).
wbumount consists of two parts:
* The command line utility "wbumount". It has to be installed as "suid root" in order to see all processes via /sbin/fuser , because certain applications like the "fam"-file alteration monitor (used by nautilus) run as root. Link to fam.
* The pygtk frontend "wbumount-gtk":
This desktop app shows the list of processes, which "block" a certain mountpoint. The list gets updated every second - you will see processes come and go...
When all processes are gone, the buttons "umount" and "eject" get activated.
The "Mountpoint"-menu also gets updated permanently - when you mount a device, its mountpoint is added to the list.
· To use the gui-frontend "wbumount-gtk" you will need pygtk2.0
· People who use package-based distros might need the "pygtk2.0-devel" package.
wbumount-gtk [mountpoint (optional)]