DFC10103 Topic 3 Part 2 update 5Okt2022
DFC10103 Topic 3 Part 2 update 5Okt2022
Management
Topic 3 Part 2 || Learning Objectives:
CLO 1 (C2, PLO1)
Explain file management in operating
system.
5. Various methods of file allocation:
★ Contiguous file allocation
★ Linked file allocation
★ Indexed file allocation
File-allocation table.
… Linked Allocation: File-Allocation Table
Disdvantages:
1. effectively only for sequential-access files
2. Pointers require space: disk is being used for
pointers, rather than for information
3. Reliability:
★ files are linked together by pointers scattered all
over the disk, and consider what would hap A bug in
the operating-system software or a disk hardware
failure might result in picking up the wrong pointer.
This error could in turn result in linking into the
free-space list or into another file.pen if a pointer
were lost or damaged?
… Linked Allocation
index table
… Indexed Allocation