What is journaling in a filesystem?
IntermediateConceptFilesystem Hierarchy, Inodes & Links
Answer
A journal is a log where the filesystem writes intended metadata changes (and optionally data) before applying them. After a crash, it replays or discards incomplete transactions instead of running a full scan, so mount after power loss takes seconds. ext4's default data=ordered journals metadata and flushes data blocks before committing the related metadata.
More on Filesystem Hierarchy, Inodes & Links
Explain the purpose of the main top-level directories in the FHS.BeginnerWhat is the "/usr merge"?IntermediateWhat are /proc and /sys?BeginnerWhat is an inode? What does it store and what does it NOT store?BeginnerA disk shows free space but you get "No space left on device". Why?IntermediateWhat is a hard link?Beginner