E-Scribe : a programmer’s blog

About Me

PBX I'm Paul Bissex. I build web applications using open source software, especially Django. Started my career doing graphic design for newspapers and magazines in the '90s. Then wrote tech commentary and reviews for Wired, Salon, Chicago Tribune, and others you never heard of. Then I built operations software at a photography school. Then I helped big media serve 40 million pages a day. Then I worked on a translation services API doing millions of dollars of business. Now I'm building the core platform of a global startup accelerator. Feel free to email me.

Book

I co-wrote "Python Web Development with Django". It was the first book to cover the long-awaited Django 1.0. Published by Addison-Wesley and still in print!

Colophon

Built using Django, served with gunicorn and nginx. The database is SQLite. Hosted on a FreeBSD VPS at Johncompanies.com. Comment-spam protection by Akismet.

Pile o'Tags

Stuff I Use

bitbucket, Django, Emacs, FreeBSD, Git, jQuery, LaunchBar, Markdown, Mercurial, OS X, Python, Review Board, S3, SQLite, Sublime Text, Ubuntu Linux

Spam Report

At least 236428 pieces of comment spam killed since 2008, mostly via Akismet.

Try, try again

This is really one of the most maddening things that OS X does:

The disk "Foo" is in use and could not be ejected.

Try quitting applications and try again.

Hey, you're the damn computer -- try telling me what those applications are! Try telling me what files are in use! Try letting me override!

Monday, September 12th, 2005
+
4 comments

Comment from Quentin Stafford-Fraser , later that day

Agreed - this has always bugged me, and Windows does just the same.

Linux has an 'fuser' command which allows you to find out which processes are using a disk - you can do something like fuser -vm /home. I haven't found an equivalent in OS X, though there may be some combination of options to lsof which would give you something similar.

Either way, it should really be a button in the dialog box that would give you the info.

Comment from Russell Edwards , 2 days later

Good call Quentin, man lsof reveals lsof +D [path] . Worked great for me.

Comment from Paul , 3 days later

Very nice!

Comment from Michael Abbott , 22 months later

I know I'm two years late, but I had the same problem today, and found this page on google.

I found that you can force an eject in the terminal: cd /Volumes and then type

hdiutil eject -force drive-name/

and it's gone! No idea really how safe this is. I quit everything first, but didn't want to reboot.

Comments are closed for this post. But I welcome questions/comments via email or Twitter.