Skip to content

You wrote the file and the power went out

A program writes a file and returns success. The machine loses power a second later. On reboot the file is empty.

Was the program wrong to report success?