4 ms·
Apologies for hijacking the thread, although other WINE users may have encountered the same problem: ancient software refusing to install due to wrong free spac
by squarefoot 4y ago
Apologies for hijacking the thread, although other WINE users may have encountered the same problem: ancient software refusing to install due to wrong free space variable size.
Some very very old installers (don't ask :^) from the early 2k if not late 90s report negative free disk space before failing, very likely because they expect a shorter variable as disk free size, probably wrongly defined in the code as signed variable, and are served a longer value they can't use, so the number wraps to negative values.
I tried to mount very small partitions but that didn't work, presumably because the variable is still being overwritten by another wrong size one, so it would need a WINE patch, which is beyond my skills. Given however that WINE is being also used to run historical software that Windows refused to run ages ago, I wonder if that feature is already present and I just missed it.
- chungy 4y agoWine will report the same free value that df(1) does, and yes this can break old applications' expectation of sizes when it overflows in 32-bit integers. Since I use ZFS and run ~/.wine on its own dataset, I set the quota to 2t and I'm golden with regards to any app I've seen. Could probably afford way smaller too, but this works for me.
- rOOb85 4y agoIt's been years since I used wine but I do recall you can specify which windows version you mimick. Perhaps if you mimick an old ass version of windows wine will behave properly? A quick Google turns up: https://superuser.com/questions/398178/can-wine-emulate-windows-95#864922 https://superuser.com/questions/398178/can-wine-emulate-wind...