2080 4

Operating Systems20805 marksNumerical: file allocation table sizeFile Allocation Table

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]

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...

Up nextWrite down the basic difference between coalescing and compaction with diagram.