Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Structure of UNIX FreeBSD inode and file: Consider the organization of a UNIX Fr

ID: 3846522 • Letter: S

Question

Structure of UNIX FreeBSD inode and file: Consider the organization of a UNIX FreeBSD file as represented by the inode in the figure shown for your convenience at the top of page 2. Assume that the inode system has the following characteristics: There are 123 direct block pointers, and a singly, doubly, and triply indirect pointer in each inode. The system block size and the disk sector size are both 8KB. The disk block pointer is 32 bits, with 8 bits to identify the physical disk and 24 bits to identify the physical block. a) What is the maximum file size supported by this system? One block of data = 8 KB = 2^13 bytes No. of 32 bits (or 4 byte) would be used for physical disk = b) What is the maximum file system partition supported by this system? c) Assuming no information other than that the file inode is already in main memory, how many disk accesses are required to access the byte in position 14, 323, 956?

Explanation / Answer

a) 8KB*(12 + 2**10 + 2**20 + 2**30)

b) More information needed

c) 3 disk accesses will be required