I replaced the original hard drive within my Macbook Pro with a ssd to gain in speed. I kept my hard drive as an external hard disk mounted at /Volumes/Macintosh HD (got this name automatically, no choice from my side).

I've just installed the XCode 4.2 development files on this external hard disk, while the library and (maybe) documentation file did not give the chance to select the location.

The result of this is that if I invoke a xcodebuild -v it invokes the 4.2 xcode installation dir version of the command, calling the /Volumes/Macintosh HD/Library/Developer/usr/bin/xcodebuild command.

So far so good.

Today I started the installation of Django through the macports project. For some strange reasons it sometimes tries to use some stuff on the external disk, but the commands written in the automatic scripts do not use double quotes around filesystem locations, with the result of failing whenever it tries to address the Macintosh HD (with a space in its name) location.

Then I thought to change the mountpoint name, by giving the command

diskutil rename /Volumes/Macintosh\ HD Macintosh_HD

Its name got changed, I did a reboot but then it seems that all the previously failing scripts keep using the Macintosh HD old name, even if the new mountpoint is at Macintosh_HD.

My question is: is there any system-wide configuration file where these paths are written? How to solve this problem now?

link|improve this question
I wrote the xcode introduction because the django macports installation reaches a point in which invokes that command: if I keep the external drive DISconnected, all the procedure goes through up to the point in which it looks for the xcodebuild command. If the disk is not attached it fails. If the disk is attached, it fails at the very beginning due to the quotes reason. – Antonio Oct 12 '11 at 22:57
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.