Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Prevent disk auto-mount while logged in' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent disk auto-mount while logged in
Authored by: iangoldby on Jul 27, '10 09:10:10AM

It's nice to know about Disk Arbitrator, and many will prefer a GUI interface, but did the original submitter try the fstab way to prevent a disk automatically mounting?

This works for me (Mac OS X 10.6.4), both at boot time and when I plug in a USB disk while I am logged in.

[ Reply to This | # ]
Prevent disk auto-mount while logged in
Authored by: tobyvoss on Jul 29, '10 02:02:35AM
The fstab way only works if you already know the disk's UUID or label. I want to prevent/readonly-mount ANY arbitrary new disk.
E.g. when someone gives me data on a USB-stick, I don't want Spotlight to write an index to that volume, nor Finder to create .DS_Store files, nor any (meta-)data at all to be altered on that volume, thank you very much.

[ Reply to This | # ]