What's Keeping Me? - Identify files on 'busy' volumes

Oct 20, '08 05:52:00AM

Contributed by: robg

If you work with disk images at all, it's likely you've been thwarted at some point when trying to eject an image -- you'll get a generic message about not being able to eject the image because it's "in use." As is typical of many error messages, this one doesn't actually contain any information needed to help solve the problem -- you're not told which file is in use, just that something is in use.

Regular readers here probably know that you can use lsof to identify the culprit, but sometimes a trip to Terminal may be more work than you want to do. If that's the case, What's Keeping Me can automate the task for you -- you type in the name of what you're trying to find, such as the volume name (or a file name if you can't, for instance, empty the trash), and the program will then display which program (or programs) are stopping the operation. I've got it installed for those times when I don't feel like mucking with Terminal and just want to get my disk image ejected. Dan Frakes also recently wrote about What's Keeping Me for the Macworld Gems blog.

Note that there's a free program, What's Open, that does much the same thing. I tested it, and it seems to work as well as What's Keeping Me, so either one will probably meet your needs.

Comments (1)

Mac OS X Hints