Skip to Content

TUAW Tip: Showing Desktop Hard Drives on a case-by-case basis

In my recent Mac 101 post, I showed you how to use Finder preferences to hide hard drives, CDs, and so forth in your Finder. Several readers contacted me asking how to display Desktop drives on a case-by-case basis, so here's a quick follow-up post.

The secret is that Finder's preferences will show or hide actual volumes, i.e. any item that appears in OS X's /Volumes folder: partitions, iPods, CDs, DVDs, etc. But it doesn't control the display of aliases. So here's what you do.

  1. Show all hard drives. Open Finder -> Preferences. Select the General pane and check "Hard disks".
  2. Create aliases. Select a hard drive you want to keep on your Desktop. Control-click (or right-click) the drive and choose Make Alias from the contextual pop-up. Finder creates an alias file for the drive. Repeat for each drive you want to keep.
  3. Hide the drives. Return to Finder -> Preferences and uncheck "Hard disks". Your hard drive icons go away but the aliases remain.
  4. Rename the alias. If desired, return to the Desktop and rename each alias so it looks more like the original item. The arrow that appears at the bottom left of the drive icon indicates that you're dealing with aliases and not the original drive.

Be aware that View -> Arrange By does not treat aliases as drives, so your disk may end up in an unexpected position after arranging.

Thanks everyone who suggested aliases.



Categories

How-tos

In my recent Mac 101 post, I showed you how to use Finder preferences to hide hard drives, CDs, and so forth in your Finder. Several...
 

Add a Comment

*0 / 3000 Character Maximum

16 Comments

Filter by:
Joe

I'd love to get that script. I have just bought a new mac pro. My plan is to use 2 drives as the system & files, the other two drives as copies of them for backup purposes. If the second set of drives were not visible on the desktop, that would be fine!

HOWEVER: will the system still see them? (i.e show in disk utility or other utilities, be able to be written to etc.)?

Please post where I can download the script! Thanks!

May 16 2007 at 6:26 PM Report abuse rate up rate down Reply
Austen S.

Oh yeah! Couldn't help noticing a firefly dvd in your drive. Thank you! someone else who watches that AWESOME show!

April 30 2007 at 8:23 PM Report abuse rate up rate down Reply
Jessi

I have desktop display disabled for my volumes, but I can always get them by opening a Finder window and going to the top level. Even if you don't have them in your sidebar, your volumes will show up at the root level. Who needs anything more? Not me.

April 30 2007 at 6:09 PM Report abuse rate up rate down Reply
jbseymour

I created an apple script to hide any disk that you want. I created it to hide my windows partition. I think it will also hide externals as well. It uses the setfile command so you need the developer tools installed. I don't have the apple script with me but if anyone wants it let me know where I can post it so others can download it.

April 30 2007 at 12:42 PM Report abuse rate up rate down Reply
Frank Furter

I'd just be happy to have my drives stay where I left them. EVERY TIME I REBOOT. Sheesh.

April 28 2007 at 10:21 PM Report abuse rate up rate down Reply
Sparks

If you have the Apple Developer Tools installed, you can actually open a Terminal window, and do:

cd /Volumes
/Developer/Tools/SetFile -a V HardDrive

Where 'HardDrive' is the drive you want hidden from Finder. That sets the Invisible file attribute on the mount point, which will make it vanish from the Desktop and so on. I do this to conceal my Windows XP partition on my dual-boot MBP; it does not actually remove the drive, just hides the mount point.

Parallels, the bootloader, etc., all find it fine, as does anything else like Disk Utility or suchnot. :)

April 28 2007 at 10:04 PM Report abuse rate up rate down Reply
aaronparker

Errr, yeah, what Andrew said. ;-)

April 28 2007 at 5:51 PM Report abuse rate up rate down Reply
aaronparker

"how do i rename the windows drive on my desktop? when i try, it doesn't allow it. its not even in the contextual menu. i assume this means it's unwritable or something so how do you do it?"

You must boot into Windows to change the drive name. OS X will not allow you to rename a file to something that begins with "." because it is "reserved by the system."

Not only that, but if your Windows drive is formatted as NTFS, you cannot rename the file from within OS X anyways, since OS X does not have the ability to write to a NTFS formatted drive.

April 28 2007 at 5:50 PM Report abuse rate up rate down Reply
andrew harrison

ralph you need to do it in windows, not from os x [os x can't write to ntfs partititons]

April 28 2007 at 5:47 PM Report abuse rate up rate down Reply
kevin

niepi,

how do i rename the windows drive on my desktop? when i try, it doesn't allow it. its not even in the contextual menu. i assume this means it's unwritable or something so how do you do it?

April 28 2007 at 3:13 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.