Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux: Which process is causing "device busy" when doing umount? [closed]

Linux: Which process is causing "device busy" when doing umount?

like image 553
flybywire Avatar asked Mar 08 '09 19:03

flybywire


1 Answers

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.

like image 75
MarkusQ Avatar answered Sep 21 '22 19:09

MarkusQ