Access over 20 million homework & study documents

A Linux i Node has 12 disk addresses for data blocks, as well as the

Content type
User Generated
Rating
Showing Page:
1/2
A Linux i-Node has 12 disk addresses for data blocks, as
well as the addresses of single, double and triple indirect
blocks. If each of these holds 256 disk addresses what is
the size of the largest file that can be handled, assuming
that a disk block is 1KB?
Solution
A Linux i-Node has 12 disk addresses for data blocks,
as well as the addresses of single, double and triple
indirect blocks.
If each of these holds 256 disk addresses what is the
size of the largest file that can be handled, assuming
that a disk block is 1KB?
In Linux, i node data structure represents filesystem object
like a directory or a file
Each disk block = 1024 Bytes = 1 KB
256 * 12 = 3072 Bytes = 3 KB
3072 / 1024 = 3 blocks each
i node means a single pointer to a block of data of size 1
KB in our case
plus 1 pointer for the indirect block

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/2

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
A Linux i-Node has 12 disk addresses for data blocks, as well as the addresses of single, double and triple indirect blocks. If each of these holds 256 disk addresses what is the size of the largest file that can be handled, assuming that a disk block is 1KB? Solution A Linux i-Node has 12 disk addresses for data blocks, as well as the addresses of single, double and triple indirect blocks. If each of these holds 256 disk addresses what is the size of the largest file that can be handle d, assuming that a disk block is 1KB? In Linux, i node data structure represents filesystem object like a ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Great! 10/10 would recommend using Studypool to help you study.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4