Question

7. (Bonus: 10 points) Maximum File Size. Consider a file system that uses inodes to represent files. To locate the physical blocks of each file, its inode contains up to 12 direct disk blocks, as well as one single, one double, and one triple indirect disk blocks. a. If disk blocks are 1 KB in size, and a pointer to a disk block requires 4 bytes. What is the maximum size of a file that can be stored in this file system? Note the size of a file does not include the size of its metadata, i.e., the inode and indirect blocks. b. In view of the limited file size caused by small disk blocks, the file system starts to use disk blocks of 8 KB in size. In addition, a pointer to a disk block now requires 8 bytes. What is the maximum size of a file that can be stored in the updated file system? Again, the size of a file does not include the size of its metadata, i.e., the inode and indirect blocks.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: Given data It is given that there is a file system using i nodes to represent the files. It is needed to determineb) Maximum file size: The following formula is used to calculate the maximum size of file that is stored in file system, Maxi

Add a comment
Know the answer?
Add Answer to:
Consider a file system that uses inodes to represent files. To locate the physical blocks of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT