Why did my Linux save+quit not save?
Posted: Sat Mar 15, 2014 5:43 pm
I had played through all the sectors, and was in the middle of the last stand sector, ready to jump in to fight the bad dude.
However, it was late, so I hit Save+Quit, turned off the computer, and went to bed.
Today, "continue" is not available. I am sad!
Note that I usually turn off my computer with hard power-off. My theory for how this happened is that perhaps FTL doesn't call fsync() before closing the save file, or doesn't call sync() after closing the save file?
If so, I think it should!
However, it was late, so I hit Save+Quit, turned off the computer, and went to bed.
Today, "continue" is not available. I am sad!
Note that I usually turn off my computer with hard power-off. My theory for how this happened is that perhaps FTL doesn't call fsync() before closing the save file, or doesn't call sync() after closing the save file?
If so, I think it should!