Lecture6_FileOrganization
Lecture6_FileOrganization
Lecture 6
Mohamed Mead
Linked Allocation
Each file is a linked list of disk blocks: blocks may be
scattered anywhere on the disk
Linked Allocation
Linked allocation solves all problems of contiguous allocation.
The directory contains a pointer to the first and last blocks of the
file. For example, a file of five blocks might start at block 9 and
continue at block 16, then block 1, then block 10, and finally block 25
Linked Allocation
Each block contains a pointer to the next block.