1) Suppose I'm using the Windows VFAT file system, and a disk error trashes the FAT entry I'm currently writing, and the block that contains it. How many files might I loose? 2) Assume that I'm using the Windows FAT32 file system. A cluster is 1024 bytes long on this filesystem. I have nothing cached except the partition table. How many disk accesses will I need to read a file named "\config.sys" that is 10,000 bytes long? What does each access read? Access #1: ____________________________________________ Access #2: ____________________________________________ Access #3: ____________________________________________ Access #4: ____________________________________________ Access #5: ____________________________________________ Access #6: ____________________________________________ Access #7: ____________________________________________ Access #8: ____________________________________________ Access #9: ____________________________________________ 3) Answer question 2 for the ext2 file system. Access #1: ____________________________________________ Access #2: ____________________________________________ Access #3: ____________________________________________ Access #4: ____________________________________________ Access #5: ____________________________________________ Access #6: ____________________________________________ Access #7: ____________________________________________ Access #8: ____________________________________________ Access #9: ____________________________________________ 4) Using long filenames on a Windows FAT32 box, how many directory entries would I need to store the file "12345678.1234"? 5) Using ext2, how can I tell if a inode entry is in use? In other words, are inode entries zero'd when not in use, is there a reference count, what? If there is more than one way, list them all. If it's impossible, say that. 6) In Windows FAT32, a data block is corrupted. How can I tell which file lost data? In other words, given a data block, how can I find the associated file? 7) In EXT2, they keep many copies of the superblock just in case of data loss. However, they only keep one entry for inode #2, the root directory inode. How can they recover from the loss of this data? 8) List two advantages of the EXT2 file system, and two for the Windows VFAT file system. EXT2 #1: ____________________________________________________ EXT2 #2: ____________________________________________________ VFAT #1: ____________________________________________________ VFAT #2: ____________________________________________________ 9) If you had to right code for either file system, which would be easier? ____ EXT2 _____ VFAT32 10) Assume you're running VFAT24, a file system just like VFAT except it uses 24 bit points to describe disk locations. You have a 30G hard drive to format. What cluster size do you need?