Javatpoint Logo
Javatpoint Logo

Indexed Allocation

Limitation of FAT

Limitation in the existing technology causes the evolution of a new technology. Till now, we have seen various allocation methods; each of them was carrying several advantages and disadvantages.

File allocation table tries to solve as many problems as possible but leads to a drawback. The more the number of blocks, the more will be the size of FAT.

Therefore, we need to allocate more space to a file allocation table. Since, file allocation table needs to be cached therefore it is impossible to have as many space in cache. Here we need a new technology which can solve such problems.

Indexed Allocation Scheme

Instead of maintaining a file allocation table of all the disk pointers, Indexed allocation scheme stores all the disk pointers in one of the blocks called as indexed block. Indexed block doesn't hold the file data, but it holds the pointers to all the disk blocks allocated to that particular file. Directory entry will only contain the index block address.


os indexed allocation

Advantages

  1. Supports direct access
  2. A bad data block causes the lost of only that block.

Disadvantages

  1. A bad index block could cause the lost of entire file.
  2. Size of a file depends upon the number of pointers, a index block can hold.
  3. Having an index block for a small file is totally wastage.
  4. More pointer overhead





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA