Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Discover which programs prevent disk image ejection' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Discover which programs prevent disk image ejection
Authored by: kyngchaos on Jun 16, '08 08:32:14AM

One problem I find often is that it is file sharing that keeps me from ejecting a disk. With no applications running (including background apps), and noone connected to the disk over the network, I can't eject a disk. Only turning off file sharing lets me eject the disk.

I forgot about lsof, and will try it next time to see what exactly is keeping me from ejecting.

[ Reply to This | # ]
Discover which programs prevent disk image ejection
Authored by: mmnw on Jun 16, '08 08:45:53AM
That could certainly be. I had this problem a while ago with an external disk shared via SMB and AFP. Both protocols tended to block ejecting the disk. The worst was with windows clients on the network, because there is no obvious way of telling windows to close an open connection.
Also you should note the comment above, about using sudo lsof, because it could be, that file sharing uses a different user account to access the files (i.e. guest account), depending on your configuration.

[ Reply to This | # ]