File system
It then becomes possible to always keep the file system in a consistent state. With databases, this is known as ACID. That way, an operation on a file is either done, or it is not done. There are however, no states in between. The file being written to the filesystem is no longer visible. This is usually done using transactions. But with filesystems, it is called journaling.