2080 4

BIT204 · 2080 · 5 marks

A 2 GB disk has a 4-KB block size, calculate the size of the file allocation table if each entry of the table is 4 bytes.

A 2 GB disk has a 4-KB block size, calculate the size of the file allocation table if each entry of the table is 4 bytes. [5]

Operating SystemsChapter 10: File System and Storage ManagementFile Allocation TableNumerical: file allocation table size

Parameter Value ------------------ Disk Size 2 GB Block Size 4 KB FAT Entry Size 4 bytes $$\text{Disk Size} = 2 \text{ GB} = 2 \times 2^{30} = 2^{31} \text{ bytes}$$ $$\text{Block Size} = 4 \text{ KB} = 4 \times 2^{10} = 2^{12} \text{ bytes}$$ The FAT holds one entry per disk block: $$\text{Numbe...