┌─────────────────────────────┐
│ Contiguous Allocation │
│ ┌───────────────┐ │
│ │ File Blocks │ │
│ │ [1][2][3][4] │ │
│ └───────────────┘ │
├─────────────────────────────┤
│ Linked Allocation │
│ ┌─────┐ ┌─────┐ ┌─────┐ │
│ │[1]─┐│→ │[3]─┐│→ │[2] │ │
│ └─┬──┘│ └─┬──┘│ └─────┘ │
│ ↓ ↓ ↓ │
├─────────────────────────────┤
│ Indexed Allocation │
│ ┌───────────────┐ │
│ │ Index Block │ │
│ │ [1][3][2][4] │ │
│ └───────────────┘ │
│ Blocks scattered anywhere │
└─────────────────────────────┘
This diagram shows how files are stored in contiguous, linked, and indexed allocation methods.