2078 10

BIT204 · 2078 · 5 marks

A 2 GB hard disk has 2 KB block size, calculate the size of bitmap for bitmap based free space management.

A 2 GB hard disk has 2 KB block size, calculate the size of bitmap for bitmap based free space management. [5]

Operating SystemsChapter 10: File System and Storage ManagementBitmap based free space managementNumerical: bitmap free space size

Parameter Value ------------------ Disk size 2 GB Block size 2 KB In bitmap free space management, every disk block is represented by exactly 1 bit (1 = allocated, 0 = free). So the bitmap size in bits equals the total number of blocks. $$2 \text{ GB} = 2 \times 2^{30} = 2^{31} \text{ bytes}$$ $$...