Consider a file currently consisting of 100 blocks. Assume that the filecontrol block (and the index block, in the case of indexed allocation) is already in memory. Calculate how many disk I/O operations are required for contiguous, linked, and indexed (single-level) allocation strategies, if, for one block, the following conditions hold. In the contiguous-allocation case, assume that there is no room to grow at the beginning but there is room to grow at the end. Also assume that the block information to be added is stored in memory. a. The block is added at the beginning. b. The block is added in the middle. c. The block is added at the end. d. The block is removed from the beginning. e. The block is removed from the middle. f. The block is removed from the end.
Read moreTable of Contents
Textbook Solutions for Operating System Concepts
Question
Consider the following backup scheme: Day 1. Copy to a backup medium all files from the disk. Day 2. Copy to another medium all files changed since day 1. Day 3. Copy to another medium all files changed since day 1.This differs from the schedule given in Section 12.7.4 by having allsubsequent backups copy all files modified since the first full backup.What are the benefits of this system over the one in Section 12.7.4?What are the drawbacks? Are restore operations made easier or moredifficult? Explain your answer.
Solution
The first step in solving 12 problem number 20 trying to solve the problem we have to refer to the textbook question: Consider the following backup scheme: Day 1. Copy to a backup medium all files from the disk. Day 2. Copy to another medium all files changed since day 1. Day 3. Copy to another medium all files changed since day 1.This differs from the schedule given in Section 12.7.4 by having allsubsequent backups copy all files modified since the first full backup.What are the benefits of this system over the one in Section 12.7.4?What are the drawbacks? Are restore operations made easier or moredifficult? Explain your answer.
From the textbook chapter File -System
Implementation you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution