The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
55 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 (199 points)
edited by | 55 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 .

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
190,487 comments
85,105 users