[Bug 51945] New: property "Size" from win32_logicaldisk gives bogus results
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(a)winehq.org Reporter: xerox.xerox2000x(a)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? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51945 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- It returns some fixed value, see dlls/mountmgr.sys/device.c for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51945 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|wmi&wbemprox |mountmgr.sys -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51945 --- Comment #2 from Louis Lenders <xerox.xerox2000x(a)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) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51945 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Component|mountmgr.sys |wmi&wbemprox Resolution|--- |FIXED Fixed by SHA1| |0780f68c9ff0df2070b17cf8425 | |025ae13159b0c --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- This seems fixed by yesterdays commit 0780f68c9ff0df2070b17cf8425025ae13159b0c. Without this patch: wmic logicaldisk get size Size 82252800000 82252800000 With the patch committed: wmic logicaldisk get size Size 5325045760 46122553344 which are correct sizes in my case. Thanks Paul. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=51945 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.9. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla