!diskspace

The !diskspace extension displays the amount of free space on a hard disk of the target computer.

!diskspace Drive[:]

Parameters

Drive
Specifies the drive letter of the disk. The colon (:) after Drive is optional.

DLL

Windows 2000

Kext.dll

Windows XP and later

Kext.dll

Remarks

Here is an example:

kd> !diskspace c:
Checking Free Space for c: ..........
   Cluster Size 0 KB
 Total Clusters 4192901 KB
  Free Clusters 1350795 KB
    Total Space 1 GB (2096450 KB)
     Free Space 659.567871 MB (675397 KB)

kd> !diskspace f:
Checking Free Space for f: 
f: is a CDROM drive. This function is not supported!