I have a Mac with a Windows drive that I occasionally boot to. Most of the time, I'm using the Mac, and the Windows disk always mounts and shows up on the desktop. I would like to keep it from showing up or prevent it from mounting at all if possible, without affecting the ability to boot to it when I want to. I found an answer on a blog that uses
$ chflags hidden /Volumes/Time\ Machine/
to hide the volumes. I will do that if there's no way to prevent mounting them. Thanks for any answers!