19 May
2025
19 May
'25
11:07 p.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8086#note_103907