When I enter the "SetFile -a V '/Volumes/XXX/' command in Terminal it appears to execute the command (it doesn't give an error message). I then use the killall "Finder" command to restart the finder but the volume still resides in the sidebar and on the desktop.
Imported from the Apple Support Forums via the Wayback Machine 🔗
you don't need Developer tools and setFile to set a hidden flag.
run the following command in terminal
chflags hidden /volumes/"name of drive"
put the name of the volume you want to hide in the above. KEEP the quotes.
if the command returns an error it means you don't own the volumes. in this case run
sudo chflags hidden /volumes/"name of drive"
you'll have to enter your admin password (which you won't see). that's normal. this will hide the drive from finder but not from the sidebar. to remove it from the sidebar drag it off the sidebar.
0
skeelo221·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks for the reply! Unfortunately I wasn't able to try your suggestion (even though it looks to be a lot simpler!)
After a restart of the computer the drives disappeared from the Finder.
0
V.K.·
Imported from the Apple Support Forums via the Wayback Machine 🔗
skeelo221 wrote:
Thanks for the reply! Unfortunately I wasn't able to try your suggestion (even though it looks to be a lot simpler!)
After a restart of the computer the drives disappeared from the Finder.