DIFormat
#include <DiskInit.h> Disk Initialization Package
short drvNum ; drive to format (1=internal floppy)
DIFormat formats a diskette by calling the disk device driver. The disk will not be usable until its volume information is written and an empty directory is
drvNum identifies which drive contains the disk to format. Historically,
1=internal, 2=external, and numbers higher than 3 are hard disks.
noErr (0) No error
firstDskErr (-84) ... through ...
lastDskErr (-64) (low-level disk errors)
Notes: This function is performed automatically by DIBadMount (which itself is performed automatically most of the time).