External Drive Won't Eject. LSOF no help.
"The disk <disk name> is in use and could not be ejected"
To find out why, I turn to Terminal and enter:
lsof | grep <disk name>
Much of the time I see the app which has locked the drive and deal with it. But, almost as much, the lsof/grep command produces an empty result. I'm pretty confident I'm typing the disk name correctly. And to be doubly sure, I'll try
lsof | grep Volumes
to find locks on any external files. Still, these drives just don't appear.
Right now, I'm in the middle of an image database import which which will take a while. I would really like not to be in the position of having to kill such processes in order to swap drives.
Does anyone know what I could do about this short of restarting the computer? Does anyone know what I could do to prevent this from happening?
Thanks much!
Mac Pro 3GHz, Mac OS X (10.5.7)