Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 1 Draw a diagram showing the relation between per - process - open - file table and system - wide - open - file
Exercise
Draw a diagram showing the relation between perprocessopenfile table and systemwideopenfile table. Separately list the entries in each table for file. How are these tables updated when i a file is opened by an executing process, and ii a file is read?
Exercise
Consider a file currently consisting of blocks. Assume that the file control block and the index block, in the case of indexed allocation is already in memory. Calculate how many disk IO operations that is reads and writes are required for contiguous, linked, and indexed singlelevel allocation strategies, if for one block, the following conditions hold. In the contiguousallocation 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.
Solution
Contiguous Linked Indexed
a
b
c
d
e
f
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started