Anonymous user menu

A FAT (file allocation table) based file system : GATE 2014 - Paper 2

A FAT (file allocation table) based file system is being used and the total overhead of each entry in the FAT is 4 bytes in size. Given a 100 x 106 bytes disk on which the file system is stored and data block size is 103 bytes, the maximum size of a file that can be stored on this disk in units of 106 bytes is ___________.

Answer

Number of entries in the FAT = Disk Capacity / Block size = 108 / 103 = 105.
Total space consumed by FAT = 105 × 4 B = 0.4 × 106 B
Maximum size of file that can be stored = 100 × 106 – 0.4 × 106 = 99.6 × 106 B
Answer: 99.6

0Comment