subject

Consider a file system that has the following description:
The disk is divided into 1024-byte blocks.
The beginning of the disk contains an array of 216 inodes, each of which can represent a file or be unallocated.
A file has an indexed structure: an inode contains
(a) 8 data block pointers, each of which is 4 bytes and each of which points to a disk block and
(b) a pointer to ONE indirect block, which is a disk block that itself contains data block pointers.
The inode also contains a userid (2 bytes), three time stamps (4 bytes each), protection bits (2 bytes), a reference count (3 bytes), and the size (4 bytes).
A directory contains a list of (file_name, inode_number) pairs, where the file_name portion is always exactly 14 bytes, including the null terminator (if the file_name would otherwise be fewer than 14 bytes, it is padded to 14 bytes).

(a) State the maximum file size, and justify your answer, for example by showing how you get your answer. You may express your answer as a sum of powers-of-two.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
Answers: 2
You know the right answer?
Consider a file system that has the following description:
The disk is divided into 1024-byte...
Questions
question
Spanish, 04.01.2021 18:10
question
Chemistry, 04.01.2021 18:20
Questions on the website: 13722360