We've already covered how to completely prevent partitions from mounting under macOS, but sometimes you want a partition mounted and ready to use but still want the benefit of it not cluttering up your desktop. For example, many people want their Time Machine partition constantly mounted and backing up throughout the day but don't need it to be visible at all.
Finder's preferences allow for hiding all volumes from the desktop but offer no control on a volume-by-volume basis. Therefore, we'll show you how to use the Terminal to hide mounted volumes on a case-by-case basis.