Make delicious recipes!

File Systems

  1. FAT 32
  2. NTFS
  3. HFS
  4. JFS

Journaling File System

Updating files and directories is not an inherently atomic operations and is susceptible to failure at many steps in the process.
If the process of updation fails before completion (like power loss), then data can be corrupted.
For example, writing a huge file involves following steps:
  1. Creating a directory entry.
  2. Estimating number of inodes.
  3. Creating inodes and transferring actual data to the inodes.
If the process fails before completion, it could lead to wrong inode information or incomplete files.
Recovering from such a corrupted system can take a very long time if all the directories and inodes need to be checked.
A journaled file system solves this problem by creating a journal of the changes it plans to do.
After a successful operation, the entry is removed from the journal or marked as complete.
If the operation was unsuccessful, the entry remains in the journal and the system can just read the journal to quickly jump to the affected file.

More details can be found at Journaling file system at Wikipedia

Like us on Facebook to remain in touch
with the latest in technology and tutorials!

Got a thought to share or found a
bug in the code?
We'd love to hear from you:

Email: (Your email is not shared with anybody)

Facebook comments:

Site Owner: Sachin Goyal