[Github-comments] [geany/geany] Data loss when partition is full (#2494)

roland65 notifications at xxxxx
Thu May 7 14:05:05 UTC 2020


> > Why not simply checking that the remaining space is greater than the current file size and only allow to save in that case?
> 
> Because that information is not available cheaply, reliably, and portably for all filesystem types and platforms Geany is available on, if a save fails just save somewhere else and see what the problem is, it could be lots of things not just out of space.

There is no way to think that when exiting an editor after it says there is no more space left on device, that editor will *null out* your precious file! So expecting that the user will save his data elsewhere before exiting is clearly not the correct way...





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2494#issuecomment-625275929
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200507/89b60b9a/attachment.htm>


More information about the Github-comments mailing list