Quantcast
Channel: macosxhints.com storage device tips
Viewing all articles
Browse latest Browse all 21

Prevent disk auto-mount while logged in

$
0
0
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:
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist
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: ...

Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>