CPSC 313 Lecture Notes - Lecture 10: Data Corruption, Hidden File And Hidden Directory, File System

54 views2 pages

Document Summary

Takes a long time for large system les. Log transactions being performed (done or never done) Each op broken down into atomic steps ie delete le remove the entry from the directory update bitmap to free data blocks mark the inode available. After the op completes steps can be deleted from the journal. Meaning, one step must have the same a ect as multiple steps (to ref count) When a le system isn"t clean on reboot replay every op that is still in the journal that has an end-of-operation indicator. What it does only add metadata ops to journal data blocks are written directly to disk. What it does similar to write-back mode writes data blocks before committing ops to the journal. What it does writes both data blocks and metadata to journal. Malloc(size) nds a free block with at least size bytes and returns a pointer to it.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers