The Gateway to Computer Science Excellence
0 votes
77 views
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 (417 points)
edited by | 77 views
0
Isn't some data supposed to be missing out here?
I mean shoudn't they give the disk address size?
0
The default block size is 4096 B in UNIX file and i guess they have assumed that we know it..
0

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?

0

How 262 Bytes?

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

0

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

For triple indirection, it amounts to 262 .

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
50,833 questions
57,709 answers
199,415 comments
107,602 users