Question: Interested in (c) Most file systems support pretty large files. In this question, we'll see how big a file various file systems support. Assume for

Interested in (c)Interested in (c) Most file systems support pretty large files. In this

Most file systems support pretty large files. In this question, we'll see how big a file various file systems support. Assume for all questions below that file system blocks are 4KB. a) (2.5) Assume you have a really simple file system, directfs, where each inode only has 16 direct pointers, each of which can point to a single file block. Direct pointers are 32 bits in size. What is the maximum file size for directfs? b) (2.5) A new file system uses direct pointers but also adds indirect pointers and double- indirect pointers; we call it indirectfs. Specifically, an inode within indirectfs has one direct pointer, one indirect pointer, and one double-indirect pointer field. Pointers, as before, are 4 bytes in size. Wat is the maximum file size for indirectfs? c) (2.5) A compact file system, called compactfs, tries to save as much space as possible within the inode. Thus, to point to files, it stores only a single pointer to the first block of the file. However, blocks within compactfs store 4KB of user data and a next field, much like a linked list. What is the maximum file size for compactfs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!