Specifically if you have Windows (via Bootcamp) or rarely used drives you dont want shown or accessible. It gets annoying to see those volumes mounted. For example, I don't want my wife to accidentally delete files off my Windows partition. I also have a clone drive of my system and whenever I double click on an image, Photoshop may launch from the clone drive instead of the one on my SSD system drive. I rarely use the clone drive except to mirror my working system drive once a week.
I prefer to manually mount those drives when I need them.
Here are the 3 drives I dont like littering my desktop: System Reserved, Windows, and my clone drive. System Reserve is the small boot partition that contains files to boot Windows. Delete any of those files and Windows wont boot.
Here is my solution I found somewhere off the net (I can't find the original link). You can write an Applescript to do this. Create the Applescript to unmount and load at login via the "Login Items" under "User & Groups" in the System Preference.
Here is the applescript. Modify with the volume name and save as an application.
set volname to "System Reserved" -- # name of target volume
set p to (POSIX path of (volname & ":" as alias))'s text 1 thru -2
set sh to "diskutil umount " & quoted form of p & " &> /dev/null &"
do shell script sh
Next, with the compiled Applescript(s) applications, go to User & Groups and go under Login Items and add your applescript(s). Also, I check off "Hide" so I don't see the script executes. It will re-run if you log off into another user and re-login back into your user account. Hiding it will run it in the background so if it errors,you won't see it.
Voila. Next time you boot, those drives wont show up.
You can easily remount the drives at any given time via the Disk Utility so this isn't a permanent thing.
Now, the only thing I can think of next is to stop OSX from prompting you to initialize a disk when it can't recognize the filesystem (e.g. Linux EXT4 or Vmware VMFS).