\nUnlike most data structures we've talked about in the past, file systems\nmust ____. That is, they must work properly despite situations such as a\n____ or system ____. When these events occur, the operating system must\nresolve the ____ problem, which is caused by the fact that the disk may\nonly complete a subset of the desired operations before the situation\nhappens and puts the file system in an ____ state.\n
\n\nTo put the file system back in order, we can use ____ or the file\nsystem checker which runs ____ the file system is mounted during boot.\nTo speed up this restoration process, modern file systems utilize ____,\nwhich adds a bit of overhead on each write, but allows them to quickly\nrecover from the events discussed above.
\n\n\n" }, "q02": { "type": "multiple", "question": "\nSuppose we were appending to a file and had to allocate a new data block in\nthe file system to accomodate the data we are writing. Which of the\nfollowing scenarios would yield a \"file-system inconsistency\" problem:\n\n", "responses": { "dblock_only": "Just the data block is writen to disk.", "ibitmap_only": "Just the inode bitmap is updated.", "dbitmap_only": "Just the data bitmap is updated.", "bitmaps_only": "Just the inode and data bitmap are updated.", "ibitmap_dblock": "Just the inode bitmap is updated and the data block is written to disk.", "dbitmap_dblock": "Just the data bitmap is updated and the data block is written to disk." } }, "q03": { "type": "multiple", "question": "\n\nAs a followup to the previous question, which of the situations above would\nyield garbage data:\n\n\n", "responses": { "dblock_only": "Just the data block is writen to disk.", "ibitmap_only": "Just the inode bitmap is updated.", "dbitmap_only": "Just the data bitmap is updated.", "bitmaps_only": "Just the inode and data bitmap are updated.", "ibitmap_dblock": "Just the inode bitmap is updated and the data block is written to disk.", "dbitmap_dblock": "Just the data bitmap is updated and the data block is written to disk." } }, "q04": { "type": "order", "question": "\n\nMatch the following labels to the descriptions of what fsck does:\n\n