https://bugs.winehq.org/show_bug.cgi?id=51945
Bug ID: 51945 Summary: property "Size" from win32_logicaldisk gives bogus results Product: Wine Version: 6.19 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
Hi,
When i do "wine wmic logicaldisk get size"
I seem to get bogus results:
82252800000 82252800000
I have c: and z: in my winecfg and they do not match at all.
Something like "wine wmic logicaldisk get freespace" does work correctly so I suspect some kind of bug?
https://bugs.winehq.org/show_bug.cgi?id=51945
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- It returns some fixed value, see dlls/mountmgr.sys/device.c for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX.
https://bugs.winehq.org/show_bug.cgi?id=51945
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wmi&wbemprox |mountmgr.sys
https://bugs.winehq.org/show_bug.cgi?id=51945
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Nikolay Sivov from comment #1)
It returns some fixed value, see dlls/mountmgr.sys/device.c for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX.
Thanks for the info, i see where it comes from now ( 255 * 63 * 512 whereas Windows reports real size of disk)