Widget:FAT

From COMP15212 Wiki

This widget demonstrates (broadly) the operation of a File Allocation Table.

Dark-mode widget for embedding

Click on the numbers to replace that directory entry with a file with that many clusters. (‘0’ implicitly deletes the file.) The FAT entries should behave in the way described above.

For simplicity here there is no file appending – i.e. increasing the length of a file already in place – so in each file clusters will always ‘point’ left to right. Nevertheless, you should be able to create some examples of file fragmentation.

Remember: the FAT is a map and each FAT entry has a corresponding cluster of data on the disk.