I spent a lot of time on Windows a long time ago. And one of the things I got used to was having hard drives on the desktop. And I liked it. So when Apple took them off the desktop I started running these commands on new accounts only own systems. The other day when I gave them to someone, they said I should post them. So here goes…
To show removable media (cards, etc):
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
To show external hard drives (USB, Thunderbolt, firewire, etc):
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
To show mounted servers (AFP, SMB, NFS, etc):
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
To show internal hard drives:
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true