[Overview][Constants][Types][Procedures and functions][Variables] |
Add disk definition to list if drives (Unix only)
Source position: dos.pp line 54
function AddDisk( |
const path: String |
):Byte; |
AddDiskadds a filename Sto the internal list of disks. It is implemented for systems which do not use DOS type drive letters. This list is used to determine which disks to use in the DiskFreeand DiskSizecalls. The DiskFreeand DiskSizefunctions need a file on the specified drive, since this is required for the statfssystem call. The names are added sequentially. The dos initialization code presets the first three disks to:
The first call to AddDiskwill therefore add a name for the second harddisk, The second call for the third drive, and so on until 23 drives have been added (corresponding to drives 'D:'to 'Z:')
None
|
Get free size on Disk. |
|
|
Get total size of disk. |