Currently IOCTL_DISK_GET_DRIVE_GEOMETRY_EX handling is a stub in mountmgr.sys returning a hardcoded size. I should've been fixing that part instead of course as that is a lower level query which could at least return a correct total size. But get_freespace() uses IOCTL_DISK_GET_DRIVE_GEOMETRY_EX for other disk types besides physical drive: partition, logical disk and for the latter IOCTL_DISK_GET_DRIVE_GEOMETRY_EX is not applicable. So it seems to me it worth changing in wbemprox regardless.