KI_STATFS
Argument | Enumeration | Purpose |
---|---|---|
file$ | Pathname | |
freeSpace | Free space on file system (kBytes) | |
freeInodes | Number of spare inodes (-1 on Windows) | |
diskSize | Size of file system (kBytes) | |
maxInodes | Total number of inodes (-1 on Windows) | |
remote | True if a remote network drive |
KI_STATFS
This returns file system statistics.
The freeSpace and diskSize values are the amount of free disk space and the disk size in kilobytes. The freeInodes and maxInodes only apply to Unix systems, these values are always -1 on Windows. The optional paramter, remote is a flag indicating if the filesystem is mounted via the network. For example, on Unix an NFS directory, or on Windows a 'Network Drive'. For these types if file system remote will be set to 1, for normal local filesystems it will be set to zero.