The superblock s_state field essentially shows whether or not the filesystem was cleanly unmounted.
According to
man tune2fs:
Quote:
If you are using journaling on your filesystem, your filesystem will never be marked dirty.
|
This is because journaling can usually recover a system that has been incorrectly shut down.
Also, the man entry states:
Quote:
Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error.
|
So, "clean" in this case does not mean that errors do not exist.