Renaming you HD

Irishgent

macrumors newbie
Original poster
Nov 14, 2002
8
0
I used mv to rename my hard drive but the desktop name of it does not change. It changes in the terminal when you ls the volumes directory but it is not reflect on the desktop name even if you restart.

I do not want to do this in the Finder. I want to be able to do this in the Terminal or some other way automatically with a script.


Any ideas.
 

MacBandit

macrumors 604
Re: Renaming you HD

Originally posted by Irishgent
I used mv to rename my hard drive but the desktop name of it does not change. It changes in the terminal when you ls the volumes directory but it is not reflect on the desktop name even if you restart.

I do not want to do this in the Finder. I want to be able to do this in the Terminal or some other way automatically with a script.


Any ideas.
Translation. I want to do this like the Government. The hardest way possible. If there is a harder way then using the terminal pleaes tell me because I wan to do it that way.

Sorry I just had to do that. Not meant to be an insult. No hard feelings.:)
 

Irishgent

macrumors newbie
Original poster
Nov 14, 2002
8
0
Great help

I am running a shell script and I need this in it. Good joke with the Gov though. that must be the US Gov your on about. Had to put that one in.
 

benixau

macrumors 65816
Oct 9, 2002
1,307
0
Sydney, Australia
I dont think it will be possible. Try using apple scripts.

See, Finder generates those names on the fly based on meta data stored in the hfs+ table.

Do it graphically and you will be ok cause finder can change that data. You cant.

If there is a way to bypass this or if i am wrong - for crying out loud let me know.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.