Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

Employ effective vocal cues Employ effective visual cues

Answered: 1 week ago

Question

What is paper chromatography?

Answered: 1 week ago

Question

Explain the cost of capital.

Answered: 1 week ago

Question

Define capital structure.

Answered: 1 week ago