Allocation Methods Version 0 |
|
👤 Author: by 2014329620077ll 2016-12-21 14:52:43 |
1. Contiguous Allocation
Contiguous allocation requires that each file occupy a set of contiguous blocks on the disk.
Thus, the number of disk seeks required for accessing contiguously allocated files is minimal, as is seek time when a seek is finally needed.
Contiguous allocation of a file is defined by the disk address and length(in block units) of the first block. If the file is n blocks long and starts at location b, then it occupies blocks b, b+1, b+2……, b+n-1. The directory entry fo