[Overview][Constants][Types][Procedures and functions][Index] |
Causes a filesystem to initialize itself
Source position: amigados.pas line 2364
function DosFormat( |
const DeviceName: STRPTR; |
const VolumeName: STRPTR; |
DosType: LongWord |
):LongBool; |
DeviceName |
|
Name of device to be formatted. ':' must be supplied. |
VolumeName |
|
Name for volume (if supported). No ':'. |
DosType |
|
Type of format, if filesystem supports multiple types. |
Interface for initializing new media on a device. This causes the filesystem to write out an empty disk structure to the media, which should then be ready for use. This assumes the media has been low- level formatted and verified already.
The filesystem should be inhibited before calling DosFormat() to make sure you don't get an ERROR_OBJECT_IN_USE.