News for hackers. Stuff that matters.
Re:File consistency (2015) by dis-sys on Friday March 30, 2018 @02:44PM (#16718724)
I am wondering what is the easy way to run tests for such file consistency issues say how the system react to power loss? Unplugging the power cable is not that automated for most people.
Re:File consistency (2015) by nickpsecurity on Friday March 30, 2018 @03:58PM (#16719325)
The most impressive setup I've seen is SQLite's described in sections 3.2-3.3 of first link with more detail in their file operations in second.

https://sqlite.org/testing.html

https://www.sqlite.org/fileio.html

Re:File consistency (2015) by zzzcpan on Friday March 30, 2018 @02:53PM (#16718796)
Using virtual file system layer, where you can model faults is pretty standard.