1)
Size of a pointer = 8 bytes
Size of a block = 4 KBytes
Number of pointers in 1 block is
Data accessed through 2 direct pointers
Data accessed through 2 single indirect pointers
Data accessed through 2 double indirect pointers
Data accessed through 2 triple indirect pointers
So total file size is
8 + 4096 + 2097152 + 1073741824 = 1075843080 KB = 1050628 MB = 1026 GB = 1 TB
So the largest file size is approx 1 TB.
2)
Total Seeks
|50-77| +|77-82| + |82-156| + |156-199| + |199-35| + |35-33| + |33-15| + |15-0|
27 + 5 + 74 + 43 + 164 + 2 + 18 + 15 = 348
Average seek time is
1. (10 pts) What is the largest file size if the inode is as follows: size of the inode is 128 Bytes out of which 64 Bytes are used for layout information, . each pointer is of size 8 Bytes and the f...