View Single Post
ShadowOfGed
Travels via TARDIS
 
Join Date: Aug 2005
Location: Earthsea
 
2007-01-17, 03:51

Quote:
Originally Posted by chucker View Post
Any ideas at all what Finder calls when renaming a drive?
No, but the online help from diskutil states that renaming only works for HFS+ and UFS disks. Sounds like a Private API, perhaps...

At this point, it's pretty darned close to a working solution, minus the zero-size and renaming problems. Especially considering a killall Finder.app will "fix" it. Also, I edited Info.plist so that formatting NTFS is easier, a la:

Code:
sudo diskutil eraseVolume 'NTFS-3G' 'VolName' disk5s2
Instead of needing to type 'Windows NT Filesystem 3G', which is contrary to the other shorthand names it lists in the help for eraseVolume. Just a minor change.

Apparently I call the cops when I see people litter.
  quote