Computer Science EngineeringVery hard
A file system inode has 12 direct pointers and one single-indirect pointer. The block size is 4 KB and a pointer is 4 bytes. What is the maximum file size reachable with these pointers?
- A. 4096 KB
- B. 4144 KB
- C. 4192 KB
- D. 48 KB
Correct answer: B. 4144 KB
The indirect block holds 1024 pointers, so (12 + 1024) blocks * 4 KB = 4144 KB.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- A table has 10 rows and column x contains 3 NULL values. What does SELECT COUNT(x) FROM table return?
- A schedule is conflict-serializable if and only if its precedence (serialization) graph
- Compared with a B-tree, a B+ tree keeps data only in linked leaf nodes, which makes it especially efficient for
- A B+ tree internal node must fit in a 1024-byte block. A key takes 10 bytes and a block pointer 6 bytes. The maximum number of keys in an…
- R(A,B) has 20 tuples and S(B,C) has 30 tuples. B is the primary key of S and a foreign key in R. What is the maximum number of tuples in…
- Basic two-phase locking guarantees