And as a further example of the problems with the approach, something as "simple" as free space on a plain vanilla ext4 partition is complicated by the fact that its a delayed allocation journalling file system, so free space is only accurate just after a full filesystem sync and no other file system activity has occurred.

So to get accurate space available before a save there would need to be nothing else using the filesystem, otherwise the available space can change between when its synced (which is very expensive) then space checked, and when the file is written, and so the write can still fail.

Small inaccuracies like that don't matter when there is plenty of space, but when space is tight and you really need the accuracy its not available except possibly in specific and expensive conditions.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.