Mar 08, '07 07:30:00AM • Contributed by: Anonymous
diskutil eraseDisk HFS+ newdisk disk1
Where diskutil is the program being run, eraseDisk is the operand, HFS+ is the format of the new disk, newdisk is the name of the new disk, and disk1 is the mount point for the disk to be formatted. You can easily find the mount point in Disk Utility by Control-clicking on the offending disk and picking Information from the pop-up menu, then looking at the Disk Identifier entry.
Somewhat surprisingly, diskutil worked for me where Disk Utility failed, so perhaps it will help you out with a similar troublesome disk.
