The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
Suppose UNIX disk block will hold 2048 disk addresses. What is the maximum sized
file using only the direct pointers? Single-indirection capability? Double indirection
capability? Triple-indirection capability?
in Operating System by (199 points)
edited by | 55 views
Isn't some data supposed to be missing out here?
I mean shoudn't they give the disk address size?
The default block size is 4096 B in UNIX file and i guess they have assumed that we know it..

Yea, i thought so. But taking 4096 Bytes as the block size, it gives the max file size for triple indirection to be around 262 Bytes. Now doesn't it make it too impractical as it amounts to a file size of 4 EXABYTES?


How 262 Bytes?

Shouldn't it be 211*212=8MB? (i.e. # of disk block addresses*size of 1 block)


Ohh sorry. I didn't copy the complete question it seems. Have now edited it!

For triple indirection, it amounts to 262 .

3 Answers

0 votes
ago by Veteran (70.9k points)
0 votes
ago by Veteran (70.9k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,984 questions
55,135 answers
85,105 users