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?