Consider a file stored in a FAT32 partition with the following information: On t
ID: 3823223 • Letter: C
Question
Consider a file stored in a FAT32 partition with the following information: On the other hand, the following is a snapshot of the file allocation table (FAT) of that FAT32 file system. Please note that the rest of the FAT values in this file system are all "EOF". Identify the clusters owned by that file by writing down the cluster address(es) in your answer book. Now, there are 3, 200 bytes of data appended to the end of the file. The file needs more clusters. Please copy the above FAT to your answer book and show the final status of the FAT. If you think that the file system does not have enough space to host the extra 3, 200 bytes of data, then please write down "File system is full" on your answer book, without copying die FAT.Explanation / Answer
c) The FAT32 file system allows for a default cluster size as small as 4 KB, and includes support for EIDE hard disk sizes larger than 2 gigabytes (GB).
But as given in question, Cluster size of FAT32 FS used here is 1KBytes = 1024 Bytes
i. If we follow above statement, the file size is 1100 Bytes i.e. greater than 1024 Bytes.
So we will need 2 clusters to store that file. Also the next clusture address is given in the FAT table i.e. 102.
So address of clusters that are being used to store the file are 100 & 102.
ii. Now to store 3200 Bytes more data, we will need 3200 Bytes of more space. So some space will come from cluster with address 102 and rest from the remaining Free clusters i.e. (103,105 & 107).
So after appending the 3200 bytes to the same file, file allocation table will look something like this.
For further information, you may use links for references :
1) http://averstak.tripod.com/fatdox/fatintro.htm
2) https://support.microsoft.com/en-in/help/154997/description-of-the-fat32-file-system
Cluster Address ... 100 101 102 103 104 105 106 107 ... FAT Value ... 102 EOF 103 105 EOF 107 EOF EOF ...Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.