Re:macOS keeps a huge wallpapers cache
by solarmist on Wednesday September 28, 2022 @10:09PM
(#33015576)
The fact there’s a right way and wrong way to check free disk space is a problem in the first place.
[ Parent
| on HN ]
Re:macOS keeps a huge wallpapers cache
by astrange on Thursday September 29, 2022 @01:53AM
(#33016937)
Pretty classic problem.
https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use
Similar assumptions about filesystems fail if they do data compression or dedupe files - you can easily overestimate how much space something is taking.