You might want to consider the app mentioned here:
It appears to have the option to exempt drives from ejection.
For more information, see the wiki Searching the Forum for Answers section.