This preview shows page 1. Sign up to view the full content.
Unformatted text preview: n in a system that uses a buFer cache. In your algorithm also consider block replacement at a high level, i.e., which replacement algorithm is used is not important. Answer: if block n is in buffer cache then return it else if no available slot in buffer cache then evict one block and write to disk if changed read block n from the disk store it in an available slot of the buffer cache return it 2. (1.5 pts) What type of information is kept in an i-node? Answer: Two types of information: attributes (le length, time of last ac-cess, protection, etc) and disk block addresses (direct and indirect)....
View Full Document
- Spring '07
- Operating Systems