While there are numerous well-documented ways to prevent a hard disk or USB drive from mounting at boot-time, I found only one way (working in 10.6) to prevent newly-connected disks from auto-mounting while logged in.
It is possible to turn off the responsible process:
This has negative repercussions on general ejecting and mounting. Turning diskarbitrationd back on with load instead of unload doesn't solve all problems, either.
So I looked far and wide for a simple GUI tool performing this function; all I found were expensive forensics-toolkits for law enforcement which offer this function on the side.
Then I stumbled upon this gem: ...
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist
So I looked far and wide for a simple GUI tool performing this function; all I found were expensive forensics-toolkits for law enforcement which offer this function on the side.
Then I stumbled upon this gem: ...