Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q . 4 ) ( 2 5 pts ) The file F which is 9 , 5 0 0 bytes long, has been opened by

Q.4)(25pts) The file F which is 9,500 bytes long, has been opened by process P for
write. The file system uses UNIX-like index structures (inodes), with 10 direct data block
pointers and three indirect pointers for single, double and triple indirection. The block
size of the file system is 1,000 bytes and the size of a block pointer is 10 bytes. Assume
that the inode structure for file F is in memory but none of its data blocks are.
Process P makes a write() call to to the file to append 800 new bvtes to the end of the
file.
a) How many blocks will be updated on disk to satisfy this request? Explain (10pts)
b) What is the maximum file size in this system? Explain(10pts)
c) Assume that text files have sizes in the range 1K-16K in this system. List someI
advantages and disadvantages, if the disk block size was changed to 16K.(5pts)
image text in transcribed

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

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions

Question

4. Label problematic uses of language and their remedies

Answered: 1 week ago