Analyzing file systems

Suppose we have a file system with a contents area of 32 sectors, where each cluster is 4 sectors. The following modifications are done to the file system:

  1. created a.txt (1 sector)
  2. created b.doc (size: 9 sectors)
  3. created c.txt (size: 4 sectors)
  4. deleted a.txt
  5. deleted c.txt
  6. created d.doc (10 sectors)

Draw the Contents Area under the following allocation strategy:

a) First available

b) Next available

c) Best fit (using First available strategy)

d) Best fit (using Next available strategy)

This question has been answered.

Get Answer