Operating-Systems
October 5, 2023Software-Reliability
October 5, 2023Software-Engineering
Question 6 |
In a particular Unix OS, each data block is of size 1024 bytes, each node has 10 direct data block addresses and three additional addresses: one for single indirect block, one for double indirect block and one for triple indirect block. Also, each block can contain addresses for 128 blocks. Which one of the following is approximately the maximum size of a file in the file system?
512 MB | |
2 GB | |
8 GB | |
16 GB |
Question 6 Explanation:
Maximum file size
= (10 + 27 + 27 × 27 + 7 × 7 × 7) × 210
≈ 231
≈ 2 GB
= (10 + 27 + 27 × 27 + 7 × 7 × 7) × 210
≈ 231
≈ 2 GB
Correct Answer: B
Question 6 Explanation:
Maximum file size
= (10 + 27 + 27 × 27 + 7 × 7 × 7) × 210
≈ 231
≈ 2 GB
= (10 + 27 + 27 × 27 + 7 × 7 × 7) × 210
≈ 231
≈ 2 GB
Subscribe
Login
0 Comments