2

Is it possible to show only specific hard drives on the desktop? I have a MacPro tower (3,1) with 3 drives. The boot drive is running El Cap, but there is a legacy boot drive that I would like to keep live, but mostly I don't want users to access it. Can I put the El Cap boot drive on the desktop somehow, but leave off the legacy drive? Does not seem possible in the GUI, or by directly writing to the com.apple.finder plist. Anyone have any tricks?

  • You can exclude it in the fstab file. Search this site for that keyword. On phone now so limited functionality. – Tetsujin Jul 10 '17 at 17:01
3

You can use the chflags command to hide a drive icon from the desktop:

chflags hidden /Volumes/Hide\ Me

Then, relaunch the Finder by option-right-clicking it in the Dock and choosing Relaunch.

To restore visibility of an item, use chflags nohidden instead.

Of note, this won't hide the icon from the sidebar, only from the desktop and Finder folder listings.

-1

chflags will cause issues in Mojave and higher (even after enabling Full Disk Access). Alternative:

sudo SetFile -a V /Volumes/Hide\ Me
killall Finder
  • This is really a comment to a previous answer. You can edit the other answer to add this additional info. – fsb Sep 6 at 13:11
  • that may be, it is still intended as an up-to-date answer to the original question. No need to downvote, right? – Wivku Sep 7 at 20:36
  • First, if the intent is to update an existing answer then it would be best to edit that answer directly instead of adding a new answer. Second, I didn't downvote so maybe others saw the same thing I did? – fsb Sep 8 at 0:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .