/usr/sbin/diskutil
diskutil manipulates the structure of local disks. It provides information about, and allows the administration of, partitioning schemes, layouts, and formats of disks.