Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've accidentally (while resolving another issue) named my mac boot drive ./Home 1, or .:Home 1 as it appears in /Volumes.

paul-reinheimers-mac-pro:Volumes paulreinheimer$ ls -als
total 16
0 drwxrwxrwt@   9 paulreinheimer  admin    306 15 Nov 14:50 .
0 drwxrwxr-t   44 root            admin   1564 15 Nov 14:51 ..
8 lrwxr-xr-x    1 root            admin      1 15 Nov 14:50 .:Home 1 -> /
0 drwxrwxr-x   13 paulreinheimer  staff    510  5 Oct 09:34 Drobo
0 drwxrwxr-x+  74 paulreinheimer  staff   2584 15 Nov 14:50 Home

This is incredibly inconvenient as I'm no longer able to click on the disk in the devices list in finder, and also a rather stupid name. How can I rename this?

share|improve this question
up vote 6 down vote accepted

Try with diskutil.

diskutil rename /Volumes/oldname newname

… or even for your boot disk, the shorthand:

diskutil rename / newname
share|improve this answer
    
Thanks!I think I was stuck thinking it was going to be super complicated because of the boot drive + weird name stuff. Seriously, thanks. – preinheimer Nov 15 '11 at 22:48
    
Not a thing! In fact, it's just a name, and you can even rename it without elevated privileges, so there's not much to screw up here :) – slhck Nov 15 '11 at 22:51

You must log in to answer this question.

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