Winter Semester 2026–27 · VIT-AP · BACSE106 · Operating Systems · Dr. Krithika L.B

File allocation methods

Contiguous, linked and indexed allocation, animated.

Module 4 Session 4.8 Lesson 2 of 2

File Allocation Methods

Contiguous, linked (FAT), and indexed (inodes). Trade sequential speed against easy growth.

Three maps from file to blocks

MethodSequentialRandomGrowthFragmentation
Contiguousexcellentexcellentpainfulexternal
Linked / FATgood if cachedwalk the chaineasyinternal (block)
Indexed (inode)goodgoodeasyinternal

UNIX inodes: a few direct pointers, then single/double/triple indirect, so small files stay cheap.

Place a 4-block file