Linux: Which process is causing "device busy" when doing umount? [closed]
Linux: Which process is causing "device busy" when doing umount?
Solution 1:
Look at the lsof command (list open files) -- it can tell you which processes are holding what open. Sometimes it's tricky but often something as simple as sudo lsof | grep (your device name here)
could do it for you.
Solution 2:
Just in case... sometimes happens that you are calling umount from the terminal, and your current directory belongs to the mounted filesystem.