CS FundamentalsHardGATE CS

Which property of a journaling file system's ordered mode is correct?

  1. A. Both data and metadata are written to the journal before the main area
  2. B. Only metadata is journaled, but data is written before its metadata commits
  3. C. Nothing is journaled at all; fsck repairs everything after a crash
  4. D. Data is journaled, while metadata is written straight to the main area

Correct answer: B. Only metadata is journaled, but data is written before its metadata commits

Ordered mode journals metadata only but forces the data blocks to disk first, so a committed inode never points to garbage. Full data journaling writes everything twice; writeback mode gives no data ordering.

More Operating Systems questions

Exams that ask this topic