https://bugs.winehq.org/show_bug.cgi?id=43644
Bug ID: 43644 Summary: Disk free space incorrect on file systems with more than 2TB free Product: Wine Version: 2.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: mikeonthecomputer@gmail.com Distribution: ---
Created attachment 59070 --> https://bugs.winehq.org/attachment.cgi?id=59070 cmd.exe from Windows 7 and Wine facing a large volume
Wine reports an absurdly inaccurate free space count on file systems with more than 2TB free on them (possibly an overflow issue?), and certain applications such as Steam believe there is insufficient space for them to update or install.
Windows 7 at least is OK with these large volumes and Steam operates correctly on them. Wine should match behavior.
Attaching screenshots of the Windows and Wine consoles. In the Wine example, I made a ZFS file system and first set the quota to 2048G (this is the maximum size reported on Unix for the FS), and then to 2049G. In this example, 2049G free made Wine report over 4EB! On an unquota'd file system, I have around 3TB free and Wine reports 17EB instead.