I've created an encrypted volume with TrueCrypt that is currently mounted on Mac OS X (v10.6.6). I have moved both MySQL and Postgres (v8.4) data to my encrypted volume and created symlinks to them. When the MySQL daemon is running and I eject the volume, it will eject without an issue. However, when the Postgres daemon is running and I attempt to eject the volume, a notice pops up saying,
The disk wasn't ejected because one or more programs may be using it.
Are there any work arounds for this?