lexus said:How would I change the icon?
And how would I go about doing this?TBi said:You might have to use the magic command line.
duncan-obryans-computer:~ duncan$ mv /WINDOWS%20HD /.Windows HD
usage: mv [-f | -i | -n] [-v] source target
mv [-f | -i | -n] [-v] source ... directory
Kingsly said:I tried using 'mv' in terminal... no dice
Umm...kingjr3 said:Bad syntax...Also your location would be wrong, as I am pretty sure all mounts go in /Volumes
Try
mv /Volumes/WINDOWS\ HD /Volumes/.Windows\ HD
duncan-obryans-computer:~ duncan$ mv /Volumes/WINDOWS\ HD /Volumes/.Windows\ HD
mv: rename /Volumes/WINDOWS HD to /Volumes/.Windows HD: No such file or directory
duncan-obryans-computer:~ duncan$
Kingsly said:Umm...Code:duncan-obryans-computer:~ duncan$ mv /Volumes/WINDOWS\ HD /Volumes/.Windows\ HD mv: rename /Volumes/WINDOWS HD to /Volumes/.Windows HD: No such file or directory duncan-obryans-computer:~ duncan$
Enjoy.kingjr3 said:Guess you could try with the %20 in the name...or better yet post the results of
ls -l /Volumes
PS. don't forget that whenever a command gives you trouble, just man <command> in Terminal
duncan-obryans-computer:~ duncan$ ls -l /Volumes
total 24
lrwxr-xr-x 1 root admin 1 Jun 10 17:08 Macintosh HD -> /
drwxrwxrwx 1 duncan duncan 8192 Jun 10 18:18 Windows HD 1
lexus said:Anyone?
Kingsly said:Enjoy.
Code:duncan-obryans-computer:~ duncan$ ls -l /Volumes total 24 lrwxr-xr-x 1 root admin 1 Jun 10 17:08 Macintosh HD -> / drwxrwxrwx 1 duncan duncan 8192 Jun 10 18:18 Windows HD 1
PS, what does man <command> do?
Thanks, I'll try it now.kingjr3 said:Your volume name is "Windows HD 1" so you would use that as the first argument for the mv command
mv /Volumes/Windows\ HD\ 1 /Volumes/.Windows\ HD
Renaming it here doesn't seem to rename it in Finder, however. Looks like the diskutil command will need to be used instead. After using the diskutil command, Logout and Login to see the renamed Volume disappear from your desktop.
As for the man command, just try it
man ls
man mv
man diskutil
man ifconfig
etc...etc...
Now thats enough Terminal help I am going to offer. There are plenty of resources in your local bookstore and online, so I encourage you guys to do some research.
duncan-obryans-computer:~ duncan$ diskutil list
/dev/disk0
#: type name size identifier
0: GUID_partition_scheme *111.8 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 103.0 GB disk0s2
3: Microsoft Basic Data WINDOWS HD 8.5 GB disk0s3
/dev/disk1
#: type name size identifier
0: CD_partition_scheme *727.5 MB disk1
1: CD_ROM_Mode_1 BIA_EIB 633.1 MB disk1s0
duncan-obryans-computer:~ duncan$ diskutil rename /volumes/WINDOWS%20HD .Windows%20HD
Disk Utility Tool
Usage: diskutil rename [Mount Point|Disk Identifier|Device Node] newName
Rename a volume (only works for HFS(+) or UFS disks).
Ownership of the specified volume may be required.
Example: diskutil rename /Volumes/SomeDisk SomeNewName
duncan-obryans-computer:~ duncan$
diskutil rename /dev/disk0/disk0s3 .Windows%20HD
That won't work. Anything in the /dev folder is really just the OSes window into the hardware, so disk0s3 is just the third partition on disk0, and it doesn't change anything in the way that the UI sees things. It'll see the logical/mounted name which is the one in /Volumes.Kingsly said:I suppose I could try something like
but I am afraid of cooking my HDD.Code:diskutil rename /dev/disk0/disk0s3 .Windows%20HD
In that case, is it possible that it would work?balamw said:That won't work. Anything in the /dev folder is really just the OSes window into the hardware, so disk0s3 is just the third partition on disk0, and it doesn't change anything in the way that the UI sees things. It'll see the logical/mounted name which is the one in /Volumes.
EDIT: Sorry I read "mv" instead of diskutil. Ignore my comment.
B
try
do shell script "/usr/sbin/diskutil unmount /Volumes/WINDOWS\\ HD"
end try
Why not just uncheck the hard drive thing, like someone mentioned int he very beginning??
That's what I did. It clears up my desktop and if I ever need to get into the hard drive, I can just click on finder and click the hard drive I need. Same 2 clicks, just with a second in between. Is life that fast paced that you can't wait the extra second?