First off: I know all about the potential issues (or otherwise) of using Truecrypt that have surfaced recently. For now I'm taking the view that data on a truecrypt volume is more secure than data that isn't...
Anyway, I want to store my Dropbox folder on my truecrypt volume. This is about making sure that files in my dropbox folder are inaccessible to someone who steals my laptop, not about making them inaccessible to Dropbox employees (and US governments).
There are loads of discussions out there about creating an encrypted container and storing that in Dropbox, but that is not what I am trying to do here. I want my ~/Dropbox folder to be located inside a truecrypt container.
Does anyone have any ideas how to achieve this? At the moment Dropbox starts when my laptop does and complains that the dropbox folder isn't present. I need to delay its start until the Truecrypt container has been mounted.
My guess is that I need a wrapper script that runs on startup and checks that the container is mounted before starting dropbox, but I'm unclear about the best way to do that - in particular taking into account that I might not even start Truecrypt, and if so Dropbox should never start.