DIFormat
DIFormat Format a disk
#include <DiskInit.h> Disk Initialization Package
OSErr DIFormat(drvNum );
short drvNum ; drive to format (1=internal floppy)
returns Error Code; 0=no error
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
created (see DIZero).
drvNum identifies which drive contains the disk to format. Historically,
1=internal, 2=external, and numbers higher than 3 are hard disks.
See GetDrvQHdr for a way to get a list of "hard" drive numbers.
Returns: an operating system Error Code. It will be one of:
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).