The following figure depicts an i-node: File attributes Address of block 0 Address of block 1 Address of block 15 Block of pointers Disk block with additional addresses This i-node contains 16 direct addresses and a pointer to the block with additional ad- dresses. Addresses take 16 B each and block size is 4 KiB = 4096 B. (a) Draw a figure that depicts the i-node and the corresponding data blocks for a file of size 15 KiB. (b) What is the largest possible file size if the block with additional addresses is not used? What if we also use the block with additional addresses (where the block with additional addresses cannot further be extended)? (c) How much space on the disk is occupied by a file of size 75 KiB?

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter3: Data Representation
Section: Chapter Questions
Problem 13RQ: How is an array stored in main memory? How is a linked list stored in main memory? What are their...
icon
Related questions
Question
The following figure depicts an i-node:
File attributes
Address of block 0
Address of block 1
:
Address of block 15
Block of pointers
:
Disk block with
additional
addresses
This i-node contains 16 direct addresses and a pointer to the block with additional ad-
dresses. Addresses take 16 B each and block size is 4 KiB = 4096 B.
(a) Draw a figure that depicts the i-node and the corresponding data blocks for a file
of size 15 KiB.
(b) What is the largest possible file size if the block with additional addresses is not
used? What if we also use the block with additional addresses (where the block
with additional addresses cannot further be extended)?
(c) How much space on the disk is occupied by a file of size 75 KiB?
Transcribed Image Text:The following figure depicts an i-node: File attributes Address of block 0 Address of block 1 : Address of block 15 Block of pointers : Disk block with additional addresses This i-node contains 16 direct addresses and a pointer to the block with additional ad- dresses. Addresses take 16 B each and block size is 4 KiB = 4096 B. (a) Draw a figure that depicts the i-node and the corresponding data blocks for a file of size 15 KiB. (b) What is the largest possible file size if the block with additional addresses is not used? What if we also use the block with additional addresses (where the block with additional addresses cannot further be extended)? (c) How much space on the disk is occupied by a file of size 75 KiB?
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning