Explain how a journalized filesystem works.

File system keeps a record of all writes to the actual disk. This can be used in data recovery situation to redo all the transactions.