Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to hide some local disks from left pane (Devices section) in Finder.

  • I want to remove them from the list of all disks at root level.
  • What is the command in terminal?

PS: I can't unmount them because they must be accessible for the system.

share|improve this question

1 Answer 1

Here you go

/usr/bin/SetFile -a V /Volumes/Macintosh\ HD

You will need to get the command line tools installed from Xcode if your system lacks the setfile program.

share|improve this answer
    
There is no SetFile command in /usr/bin/ folder. It's not found by Finder on whole system disk. –  brigadir Mar 19 '12 at 15:51
    
Hmm, that's odd... I suggest you go with the answer of gentmatt... My apologies, I'll check into this later this evening if you insist by doing it using the Terminal –  Michiel Mar 19 '12 at 15:53
1  
Setfile gets installed as part of the command line tools from Xcode. Installation steps depend on which version of Xcode you have installed. –  bmike Mar 19 '12 at 16:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.