Posts Tagged ‘fuser’


March 9th, 2008 No comments

Ever tried to unmount a device in Linux, but can’t because it is apparently still being used by something? If so, then the ‘fuser’ command is what you want. Just type ‘fuser -m’ followed by the path that the device is currently mounted to (e.g. ‘fuser -m /home’), and then you’ll receive a list of all the processes that are currently using it.

The fuser command can also be used to kill the processes as well, just by adding the ‘-k’ option (e.g. ‘fuser -km /home’).

Categories: How-Tos Tags: , ,